summaryrefslogtreecommitdiff
path: root/system/jfsutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/jfsutils/APKBUILD')
-rw-r--r--system/jfsutils/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/system/jfsutils/APKBUILD b/system/jfsutils/APKBUILD
new file mode 100644
index 000000000..55ff4139e
--- /dev/null
+++ b/system/jfsutils/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Teran McKinney <sega01@go-beyond.org>
+# Maintainer:
+pkgname=jfsutils
+pkgver=1.1.15
+pkgrel=2
+pkgdesc="JFS filesystem utilities"
+url="http://jfs.sourceforge.net"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="util-linux-dev" # libuuid is needed
+subpackages="$pkgname-doc"
+source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz
+ musl-fix-includes.patch
+ missing-stdinth.patch"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --mandir=/usr/share/man
+
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install
+}
+
+sha512sums="fa8ba7f4997471da3e6ea7239564f3395046222cfbb2b10e37b24ad0bd107b7eadbb51ce328d89d193034360b4035ca5e0e5b0b416a74483d7a2c0a2b9c65858 jfsutils-1.1.15.tar.gz
+fb0d7348e2e13a6a9c3a987d161e0cf05363649515366ef49a45e3580b8f6135fce8465b99ff8a351231d970371c00bea6ceb9edb1d0f24da20d261b06ec85bd musl-fix-includes.patch
+a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d missing-stdinth.patch"