aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-20 20:17:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-20 20:18:10 +0000
commita93e7f4a43e7814cf3274e307c759b2989308457 (patch)
treefeca09447fab3e62a8d7ac4576c4a6b88812137d /main/xdelta3/APKBUILD
parent7eeea56234790a09ba6678eb1fcafd43a3660c3a (diff)
downloadaports-a93e7f4a43e7814cf3274e307c759b2989308457.tar.bz2
aports-a93e7f4a43e7814cf3274e307c759b2989308457.tar.xz
main/xdelta3: new aport
A diff utility which works with binary files http://xdelta.org/
Diffstat (limited to 'main/xdelta3/APKBUILD')
-rw-r--r--main/xdelta3/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD
new file mode 100644
index 0000000000..fece127a66
--- /dev/null
+++ b/main/xdelta3/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xdelta3
+pkgver=3.0v
+pkgrel=0
+pkgdesc="A diff utility which works with binary files"
+url="http://xdelta.org/"
+license="GPL"
+depends=
+makedepends=
+source="http://xdelta.googlecode.com/files/$pkgname.0v.tar.gz
+ $pkgname-makefile.patch
+ $pkgname-xz.patch"
+
+build ()
+{
+ cd $srcdir/xdelta$pkgver
+ patch -Np1 -i $srcdir/xdelta3-makefile.patch
+ patch -Np1 -i $srcdir/xdelta3-xz.patch
+ make xdelta3 || return 1
+ install -D xdelta3 "$pkgdir"/usr/bin/xdelta3
+# python ./setup.py install --root "$pkgdir"
+# make xdelta3module.so || return 1
+# install -m644 {xdelta3.py,xdelta3module.so} "$pkgdir"/usr/lib/python2.6/site-packages
+}
+md5sums="6b5faeb88028a1211cb047e49b687a3a xdelta3.0v.tar.gz
+35aa0d20a27791addeb929591a78bd3f xdelta3-makefile.patch
+fb1e685d810a15f04b7bdbc9a3f3e635 xdelta3-xz.patch"