aboutsummaryrefslogtreecommitdiffstats
path: root/main/dosfstools/APKBUILD
blob: e56b121a9c06abd6aec7133eb80d419aed064aca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=4.2
pkgrel=0
pkgdesc="DOS filesystem utilities"
url="https://github.com/dosfstools/dosfstools"
arch="all"
license="GPL-3.0-or-later"
makedepends="linux-headers autoconf automake libtool"
subpackages="$pkgname-doc"
source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.gz"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-nls \
		--enable-compat-symlinks
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156  dosfstools-4.2.tar.gz"