blob: 3ea2ba961990e30ed87fce1a5533bd3a1735f496 (
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
31
32
33
34
35
36
37
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
pkgver=3.0.8
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
arch="all"
license="GPL"
depends=
makedepends=
source="http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.xz
regtest_size_t.patch"
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 -i $srcdir/regtest_size_t.patch || return 1
}
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
md5sums="c3ae3286ce4193de8e03d5bcaccf3bc3 xdelta3-3.0.8.tar.xz
450492f0065160c2287b7e89223726e0 regtest_size_t.patch"
sha256sums="3a86f29c95664fb44b8a40ff22d9bcc3e87aa8c01f0ff75931a7fa78ed3d2e55 xdelta3-3.0.8.tar.xz
cd68457982aad262db74613b17887a04eabf8bf764f7d40c494a1b24e07c32ea regtest_size_t.patch"
sha512sums="c0ac97769bd1d80d74909cb271e0396d78dccfa555de834e3bedce59cb6616f7bc6e6f18699932a6677e05d243102648979331db1d2c18b429b76ad29a7b32a3 xdelta3-3.0.8.tar.xz
6f38f0bd81025637d57b0e9ccb298fe6f851806320657e07f03d50283207221ad8c45b81ad2614a6a621c35c7232f8f81b973b5805c8696306a88c0284042777 regtest_size_t.patch"
|