aboutsummaryrefslogtreecommitdiffstats
path: root/main/jfsutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/jfsutils/APKBUILD')
-rw-r--r--main/jfsutils/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/main/jfsutils/APKBUILD b/main/jfsutils/APKBUILD
new file mode 100644
index 0000000000..3047dad8aa
--- /dev/null
+++ b/main/jfsutils/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Teran McKinney <sega01@go-beyond.org>
+# This is my first Alpine package, so expect it to be terrible.
+pkgname=jfsutils
+pkgver=1.1.14
+pkgrel=0
+pkgdesc="JFS filesystem utilities"
+url="http://jfs.sourceforge.net"
+arch="x86 x86_64"
+license="GPL"
+depends=
+install=
+makedepends="e2fsprogs-dev" # pkgconfig is pulled in externally.
+subpackages="$pkgname-doc"
+source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+}
+
+build () {
+ cd "$_builddir"
+ ./configure \
+ --mandir=/usr/share/man
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install || return 1
+}
+
+md5sums="05150840987176d5e8438066b80add1a jfsutils-1.1.14.tar.gz"