aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-12 15:48:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-12 15:48:22 +0000
commit5d46ab6d1b715872a0043cabdea887f8bda15a0c (patch)
tree2decb241fde2c46ce3ab6359cbea071629afe91c /main/xdelta3
parentae4c10946b7acdb15e62e80de2424926275138eb (diff)
downloadaports-5d46ab6d1b715872a0043cabdea887f8bda15a0c.tar.bz2
aports-5d46ab6d1b715872a0043cabdea887f8bda15a0c.tar.xz
main/xdelta3: upgrade to 3.0y
Diffstat (limited to 'main/xdelta3')
-rw-r--r--main/xdelta3/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD
index b59a853d87..1ca20cae07 100644
--- a/main/xdelta3/APKBUILD
+++ b/main/xdelta3/APKBUILD
@@ -8,15 +8,16 @@ license="GPL"
depends=
makedepends=
source="http://xdelta.googlecode.com/files/${pkgname%3}$pkgver.tar.gz
- $pkgname-makefile.patch
$pkgname-xz.patch"
-build ()
-{
+prepare() {
cd $srcdir/xdelta$pkgver
- patch -Np1 -i $srcdir/xdelta3-makefile.patch
- patch -Np1 -i $srcdir/xdelta3-xz.patch
- make xdelta3 || return 1
+ patch -p1 -i $srcdir/xdelta3-xz.patch || return 1
+}
+
+build() {
+ cd $srcdir/xdelta$pkgver
+ make CFLAGS="$CFLAGS" xdelta3 || return 1
}
package() {
@@ -27,5 +28,4 @@ package() {
# install -m644 {xdelta3.py,xdelta3module.so} "$pkgdir"/usr/lib/python2.6/site-packages
}
md5sums="8246e6ba89a5a6b9efc24f9552fcf940 xdelta3.0y.tar.gz
-35aa0d20a27791addeb929591a78bd3f xdelta3-makefile.patch
fb1e685d810a15f04b7bdbc9a3f3e635 xdelta3-xz.patch"