From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/dmapi/PKGBUILD | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'extra/dmapi') diff --git a/extra/dmapi/PKGBUILD b/extra/dmapi/PKGBUILD index 7b909633d..ada627216 100644 --- a/extra/dmapi/PKGBUILD +++ b/extra/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 + 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,16 +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 - make prefix=$pkgdir/usr/ install install-dev || return 1 + ./configure --prefix=/usr + make +} + +package() { + 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 -- cgit v1.2.3-54-g00ecf