diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/dmapi |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/dmapi')
-rw-r--r-- | extra/dmapi/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/dmapi/PKGBUILD b/extra/dmapi/PKGBUILD new file mode 100644 index 000000000..7b909633d --- /dev/null +++ b/extra/dmapi/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 47579 2009-07-24 05:47:49Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=dmapi +pkgver=2.2.10 +pkgrel=2 +pkgdesc="Data migration API" +arch=(i686 x86_64) +url="http://oss.sgi.com/projects/xfs/" +license=('GPL') +depends=('glibc') +makedepends=('xfsprogs') +provides=('xfsdmapi') +conflicts=('xfsdmapi') +replaces=('xfsdmapi') +options=('!libtool') +source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$pkgver.tar.gz) +md5sums=('c6e4ace10c446bbb92576e5dd19aec24') + +build() { + cd $startdir/src/dmapi-$pkgver + [ "$CARCH" = "x86_64" ] && export CFLAGS="$CLFAGS -fPIC" + autoconf + ./configure --prefix=$pkgdir/usr + make || return 1 + make prefix=$pkgdir/usr/ install install-dev || return 1 + # the static lib + install -D -m644 libdm/.libs/libdm.a $pkgdir/usr/lib/libdm.a + # and the header file, please + install -D -m644 include/dmapi.h $pkgdir/usr/include/xfs/dmapi.h + # kill libexec dir + rm -rf $pkgdir/usr/libexec +} |