summaryrefslogtreecommitdiffstats
path: root/abs/core/dmapi/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 03:32:58 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 03:32:58 (GMT)
commit006fe395e20a84ef6a2f20d319d28d62729c2686 (patch)
tree430e066aff15a3cf0fae7ffd95bdb8ab64289e84 /abs/core/dmapi/PKGBUILD
parent1800a2173a12c5d2f9f2f4c0dd93d3a8aec16a01 (diff)
downloadlinhes_pkgbuild-006fe395e20a84ef6a2f20d319d28d62729c2686.zip
linhes_pkgbuild-006fe395e20a84ef6a2f20d319d28d62729c2686.tar.gz
linhes_pkgbuild-006fe395e20a84ef6a2f20d319d28d62729c2686.tar.bz2
dmapi: update to latest
Diffstat (limited to 'abs/core/dmapi/PKGBUILD')
-rw-r--r--abs/core/dmapi/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/abs/core/dmapi/PKGBUILD b/abs/core/dmapi/PKGBUILD
index 0f5d015..ab36043 100644
--- a/abs/core/dmapi/PKGBUILD
+++ b/abs/core/dmapi/PKGBUILD
@@ -1,31 +1,36 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 47579 2009-07-24 05:47:49Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=dmapi
-pkgver=2.2.8
-pkgrel=12
+pkgver=2.2.10
+pkgrel=2
pkgdesc="Data migration API"
arch=(i686 x86_64)
url="http://oss.sgi.com/projects/xfs/"
license=('GPL')
-groups=('base')
depends=('glibc')
makedepends=('xfsprogs')
provides=('xfsdmapi')
conflicts=('xfsdmapi')
replaces=('xfsdmapi')
options=('!libtool')
-source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/dmapi_$pkgver-1.tar.gz)
-md5sums=('1265828fabc6e3ec4b70696db331fb8a')
+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=$startdir/pkg/usr
+ ./configure --prefix=$pkgdir/usr
make || return 1
- make prefix=$startdir/pkg/usr/ install install-lib install-dev
+}
+package() {
+ cd $startdir/src/dmapi-$pkgver
+ make prefix=$pkgdir/usr/ install install-dev || return 1
# the static lib
- install -D -m644 libdm/.libs/libdm.a $startdir/pkg/usr/lib/libdm.a
+ install -D -m644 libdm/.libs/libdm.a $pkgdir/usr/lib/libdm.a
# and the header file, please
- install -D -m644 include/dmapi.h $startdir/pkg/usr/include/xfs/dmapi.h
+ install -D -m644 include/dmapi.h $pkgdir/usr/include/xfs/dmapi.h
+ # kill libexec dir
+ rm -rf $pkgdir/usr/libexec
}
+