aboutsummaryrefslogtreecommitdiffstats
path: root/main/jfsutils/APKBUILD
diff options
context:
space:
mode:
authorroot <root@silentgnu.(none)>2011-01-05 23:18:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-06 17:03:58 +0000
commit5de52c63396072e2bf9a1abec6a2d7bd71ef22f5 (patch)
tree711892fa8aac1e02f0ea102b174bb7fbdf699d55 /main/jfsutils/APKBUILD
parent2974bac7410dcf0d1f94a3f8ae06d89a9443148a (diff)
downloadaports-5de52c63396072e2bf9a1abec6a2d7bd71ef22f5.tar.bz2
aports-5de52c63396072e2bf9a1abec6a2d7bd71ef22f5.tar.xz
Added jfsutils
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"