summaryrefslogtreecommitdiffstats
path: root/abs/core/xfsprogs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xfsprogs/PKGBUILD')
-rw-r--r--abs/core/xfsprogs/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/xfsprogs/PKGBUILD b/abs/core/xfsprogs/PKGBUILD
new file mode 100644
index 0000000..9750021
--- /dev/null
+++ b/abs/core/xfsprogs/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 3596 2008-06-25 23:37:31Z paul $
+# Maintainer: Paul Mattal <paul@archlinux.org>
+pkgname=xfsprogs
+pkgver=2.9.8
+pkgrel=10
+pkgdesc="XFS filesystem utilities"
+arch=(i686 x86_64)
+license=('LGPL')
+url="http://oss.sgi.com/projects/xfs/"
+groups=('base')
+depends=(e2fsprogs)
+options=('!makeflags' '!libtool')
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_${pkgver}-1.tar.gz)
+md5sums=('f32ab3282c3e02ce25128f7a6c2d5157')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ #sed -i '/autoconf/d' Makefile
+
+ if [ "$CARCH" == "x86_64" ]; then
+ export OPTIMIZER="-march=x86-64 -O1" # for x86_64
+ else export OPTIMIZER="-march=${CARCH} -O1" # for i686
+fi
+
+ export DEBUG=-DNDEBUG
+ make || return 1
+ make DIST_ROOT=${startdir}/pkg install install-dev
+}