summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-18 15:05:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-18 15:05:26 +0000
commitf53cd6ca91a98e37eccfa7fa4f024228be68100d (patch)
tree113a06c8db94c10384b31f76e0049ae1f7fd0ebd /main
parent10ef27e107faf730586aaf0ac6449f4da5a8a8b2 (diff)
downloadaports-f53cd6ca91a98e37eccfa7fa4f024228be68100d.tar.bz2
aports-f53cd6ca91a98e37eccfa7fa4f024228be68100d.tar.xz
main/xfsprogs: upgrade to 3.1.0
Diffstat (limited to 'main')
-rw-r--r--main/xfsprogs/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD
index 4ebc9da3..83d31e03 100644
--- a/main/xfsprogs/APKBUILD
+++ b/main/xfsprogs/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
-pkgver=3.0.5
+pkgver=3.1.0
pkgrel=0
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
@@ -12,13 +12,18 @@ source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
xfsprogs-3.0.0-gzip.patch
"
-build() {
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
+}
+build() {
+ cd "$_builddir"
export DEBUG=-DNDEBUG
export OPTIMIZER="$CFLAGS"
@@ -29,7 +34,11 @@ build() {
--enable-gettext=no
make SHELL=/bin/bash || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DIST_ROOT="$pkgdir" install install-dev
}
-md5sums="d2f981b1ae9348405a331b4c33a08cab xfsprogs-3.0.5.tar.gz
+md5sums="07c1ff6a4a44b58ee5ffdabca33a4493 xfsprogs-3.1.0.tar.gz
c72865de30f55343e843dd4fd49a91c5 xfsprogs-3.0.0-gzip.patch"