Commit a52d9d5c authored by Natanael Copa's avatar Natanael Copa

core/xfsprogs: new aport

XFS filesystem utilities
http://oss.sgi.com/projects/xfs/
parent 4e5da221
# 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 -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment