diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 15:13:43 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 15:13:43 (GMT) |
commit | 30e6aa85c083f60c27e36b52d4b960a44aaeb32a (patch) | |
tree | 7ce3ec65341d2fdbca9cf004310d75d9f66fce26 /abs/core/dmapi | |
parent | e8ef246ba87d24cb1c6bd4f7badfd72887566231 (diff) | |
download | linhes_pkgbuild-30e6aa85c083f60c27e36b52d4b960a44aaeb32a.zip linhes_pkgbuild-30e6aa85c083f60c27e36b52d4b960a44aaeb32a.tar.gz linhes_pkgbuild-30e6aa85c083f60c27e36b52d4b960a44aaeb32a.tar.bz2 |
dmapi: 2.2.10
Diffstat (limited to 'abs/core/dmapi')
-rw-r--r-- | abs/core/dmapi/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/abs/core/dmapi/PKGBUILD b/abs/core/dmapi/PKGBUILD index ab36043..ada6272 100644 --- a/abs/core/dmapi/PKGBUILD +++ b/abs/core/dmapi/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 47579 2009-07-24 05:47:49Z tpowa $ +# $Id: PKGBUILD 137722 2011-09-10 14:14:07Z pierre $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> + pkgname=dmapi pkgver=2.2.10 -pkgrel=2 +pkgrel=3 pkgdesc="Data migration API" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://oss.sgi.com/projects/xfs/" license=('GPL') depends=('glibc') @@ -13,19 +14,23 @@ provides=('xfsdmapi') conflicts=('xfsdmapi') replaces=('xfsdmapi') options=('!libtool') -source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$pkgver.tar.gz) +source=("ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$pkgver.tar.gz") md5sums=('c6e4ace10c446bbb92576e5dd19aec24') build() { - cd $startdir/src/dmapi-$pkgver + cd $srcdir/dmapi-$pkgver [ "$CARCH" = "x86_64" ] && export CFLAGS="$CLFAGS -fPIC" + export INSTALL_USER=root + export INSTALL_GROUP=root + export DEBUG=-DNDEBUG autoconf - ./configure --prefix=$pkgdir/usr - make || return 1 + ./configure --prefix=/usr + make } + package() { - cd $startdir/src/dmapi-$pkgver - make prefix=$pkgdir/usr/ install install-dev || return 1 + cd $srcdir/dmapi-$pkgver + make DIST_ROOT=$pkgdir install install-dev # the static lib install -D -m644 libdm/.libs/libdm.a $pkgdir/usr/lib/libdm.a # and the header file, please @@ -33,4 +38,3 @@ package() { # kill libexec dir rm -rf $pkgdir/usr/libexec } - |