summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/xfsprogs/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/xfsprogs/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/xfsprogs/PKGBUILD')
-rw-r--r--abs/core-testing/xfsprogs/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core-testing/xfsprogs/PKGBUILD b/abs/core-testing/xfsprogs/PKGBUILD
new file mode 100644
index 0000000..9750021
--- /dev/null
+++ b/abs/core-testing/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
+}