diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/xfsprogs/PKGBUILD | |
download | linhes_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/PKGBUILD | 28 |
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 +} |