summaryrefslogtreecommitdiff
path: root/user/dosfstools
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-02 07:10:06 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-02 07:10:06 +0000
commita3758819aee2547f93c1234e042b8b839dcd2be8 (patch)
tree9cafb21591b33a7408057ee9554c12f611954966 /user/dosfstools
parente0c7cfd702fbc56b2bff5f7ccb0623bd1bda24fe (diff)
downloadpackages-a3758819aee2547f93c1234e042b8b839dcd2be8.tar.gz
packages-a3758819aee2547f93c1234e042b8b839dcd2be8.tar.bz2
packages-a3758819aee2547f93c1234e042b8b839dcd2be8.tar.xz
packages-a3758819aee2547f93c1234e042b8b839dcd2be8.zip
user/dosfstools: pull in from Alpine, fix up
Diffstat (limited to 'user/dosfstools')
-rw-r--r--user/dosfstools/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/dosfstools/APKBUILD b/user/dosfstools/APKBUILD
new file mode 100644
index 000000000..0ee614c94
--- /dev/null
+++ b/user/dosfstools/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer:
+pkgname=dosfstools
+pkgver=4.1
+pkgrel=3
+pkgdesc="DOS filesystem utilities"
+url="https://github.com/dosfstools/dosfstools"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="linux-headers"
+checkdepends="vim"
+subpackages="$pkgname-doc"
+source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-compat-symlinks
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78 dosfstools-4.1.tar.xz"