aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3/APKBUILD
blob: 7b6886c310ef27b3f9b4946ae71a2369350c257f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
pkgver=3.0z
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
source="http://xdelta.googlecode.com/files/${pkgname%3}$pkgver.tar.gz
	"

prepare() {
	cd $srcdir/xdelta$pkgver
}

build() { 
	cd $srcdir/xdelta$pkgver
	make CFLAGS="$CFLAGS" xdelta3 || return 1
}

package() {
	cd $srcdir/xdelta$pkgver
	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="2b5b3c33438cff581ce5c12d66c28b6c  xdelta3.0z.tar.gz"