diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-18 13:53:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-18 13:53:54 +0000 |
commit | a52d9d5cbdaf46c8e4d35f763ef33c2a763324ca (patch) | |
tree | eb6a075caede6999c7d5adde6a07bd8d985baee9 /core | |
parent | 4e5da221baf78f89a8a0046a2b03590973e4e0b7 (diff) | |
download | aports-a52d9d5cbdaf46c8e4d35f763ef33c2a763324ca.tar.bz2 aports-a52d9d5cbdaf46c8e4d35f763ef33c2a763324ca.tar.xz |
core/xfsprogs: new aport
XFS filesystem utilities
http://oss.sgi.com/projects/xfs/
Diffstat (limited to 'core')
-rw-r--r-- | core/xfsprogs/APKBUILD | 38 | ||||
-rw-r--r-- | core/xfsprogs/xfsprogs-3.0.0-gzip.patch | 24 |
2 files changed, 62 insertions, 0 deletions
diff --git a/core/xfsprogs/APKBUILD b/core/xfsprogs/APKBUILD new file mode 100644 index 0000000000..6da87a83f3 --- /dev/null +++ b/core/xfsprogs/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xfsprogs +pkgver=3.0.0 +pkgrel=0 +pkgdesc="XFS filesystem utilities" +url="http://oss.sgi.com/projects/xfs/" +license="LGPL" +depends="e2fsprogs" +makedepends="e2fsprogs-dev autoconf" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz + xfsprogs-3.0.0-gzip.patch + " + +build() { + cd "$srcdir"/$pkgname-$pkgver + for i in ../*.patch; do + msg "Applying $i..." + patch -p1 < $i || return 1 + done + autoconf + + export DEBUG=-DNDEBUG + export OPTIMIZER="$CFLAGS" + + ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes \ + ./configure --prefix=/usr \ + --sbindir=/sbin \ + --libexecdir=/usr/lib \ + --enable-gettext=no + + # seems like parallel build still breaks + # http://oss.sgi.com/bugzilla/show_bug.cgi?id=797 + make -j1 || return 1 + make -j1 DIST_ROOT="$pkgdir" install install-dev +} +md5sums="ec734f935ec87ebb8be890d29380a3e6 xfsprogs-3.0.0.tar.gz +c72865de30f55343e843dd4fd49a91c5 xfsprogs-3.0.0-gzip.patch" diff --git a/core/xfsprogs/xfsprogs-3.0.0-gzip.patch b/core/xfsprogs/xfsprogs-3.0.0-gzip.patch new file mode 100644 index 0000000000..40f80023d4 --- /dev/null +++ b/core/xfsprogs/xfsprogs-3.0.0-gzip.patch @@ -0,0 +1,24 @@ +diff -ru xfsprogs-3.0.0.orig/doc/Makefile xfsprogs-3.0.0/doc/Makefile +--- xfsprogs-3.0.0.orig/doc/Makefile 2009-02-18 13:42:47.000000000 +0000 ++++ xfsprogs-3.0.0/doc/Makefile 2009-02-18 13:43:10.000000000 +0000 +@@ -13,7 +13,7 @@ + include $(BUILDRULES) + + CHANGES.gz: +- $(ZIP) --best -c < CHANGES > $@ ++ $(ZIP) -c < CHANGES > $@ + + install: default + $(INSTALL) -m 755 -d $(PKG_DOC_DIR) +diff -ru xfsprogs-3.0.0.orig/include/buildmacros xfsprogs-3.0.0/include/buildmacros +--- xfsprogs-3.0.0.orig/include/buildmacros 2009-02-18 13:42:47.000000000 +0000 ++++ xfsprogs-3.0.0/include/buildmacros 2009-02-18 13:43:46.000000000 +0000 +@@ -128,7 +128,7 @@ + MAN_MAKERULE = \ + @for f in *.[12345678] ""; do \ + if test ! -z "$$f"; then \ +- $(ZIP) --best -c < $$f > $$f.gz; \ ++ $(ZIP) -c < $$f > $$f.gz; \ + fi; \ + done + |