From f53cd6ca91a98e37eccfa7fa4f024228be68100d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 18 Jan 2010 15:05:26 +0000 Subject: main/xfsprogs: upgrade to 3.1.0 --- main/xfsprogs/APKBUILD | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'main/xfsprogs') diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD index 4ebc9da38..83d31e03f 100644 --- a/main/xfsprogs/APKBUILD +++ b/main/xfsprogs/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa 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" -- cgit v1.2.3