diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-02 01:38:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-02 01:38:35 (GMT) |
commit | f0d6782b822b8637d733aab1bd915b15cb85353e (patch) | |
tree | ee74f1e5bf34c9c553a0df7fc5f55b9b59a3542f | |
parent | 3820afa956644f52e2f454bc2ee03e41a3238558 (diff) | |
parent | 8bc928907e616b695413f9dbb1f6aaa56d56cc33 (diff) | |
download | linhes_pkgbuild-f0d6782b822b8637d733aab1bd915b15cb85353e.zip linhes_pkgbuild-f0d6782b822b8637d733aab1bd915b15cb85353e.tar.gz linhes_pkgbuild-f0d6782b822b8637d733aab1bd915b15cb85353e.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
-rw-r--r-- | abs/core-testing/xfsprogs/PKGBUILD | 20 | ||||
-rw-r--r-- | abs/extra-testing/xfsdump/PKGBUILD | 25 |
2 files changed, 32 insertions, 13 deletions
diff --git a/abs/core-testing/xfsprogs/PKGBUILD b/abs/core-testing/xfsprogs/PKGBUILD index 2cb53eb..4043caf 100644 --- a/abs/core-testing/xfsprogs/PKGBUILD +++ b/abs/core-testing/xfsprogs/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 12356 2008-09-13 21:11:54Z paul $ +# $Id: PKGBUILD 26327 2009-02-06 16:24:28Z paul $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=xfsprogs -pkgver=2.10.1 +pkgver=3.0.0 pkgrel=1 pkgdesc="XFS filesystem utilities" arch=(i686 x86_64) @@ -10,19 +10,13 @@ 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=('8f0410aa8cfea0936969a3aab447009c') +source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-${pkgver}.tar.gz) +md5sums=('ec734f935ec87ebb8be890d29380a3e6') 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 - + cd ${srcdir}/${pkgname}-${pkgver} + export OPTIMIZER="-march=$(echo ${CARCH} -O1 | sed -e 's/_/-/g')" export DEBUG=-DNDEBUG make || return 1 - make DIST_ROOT=${startdir}/pkg install install-dev + make DIST_ROOT=${pkgdir} install install-dev } diff --git a/abs/extra-testing/xfsdump/PKGBUILD b/abs/extra-testing/xfsdump/PKGBUILD new file mode 100644 index 0000000..1d40228 --- /dev/null +++ b/abs/extra-testing/xfsdump/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 26569 2009-02-09 18:40:22Z paul $ +# Maintainer: judd <jvinet@zeroflux.org> +pkgname=xfsdump +pkgver=3.0.0 +pkgrel=1 +pkgdesc="Additional XFS filesystem utilities" +arch=(i686 x86_64) +license=('LGPL') +url="http://oss.sgi.com/projects/xfs/" +depends=('xfsprogs>=3.0.0' 'attr>=2.4.39' 'acl>=2.2.45' 'dmapi') +options=('!makeflags') +source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-${pkgver}.tar.gz) +md5sums=('') +options=(!emptydirs) + +build() { + cd $startdir/src/xfsdump-$pkgver + autoconf + ./configure --prefix=/usr + make || return 1 + make prefix=$startdir/pkg/usr install + # fixes + rm -f $startdir/pkg/usr/lib/*.la + rm -f $startdir/pkg/usr/bin/{xfsdump,xfsrestore} +} |