aboutsummaryrefslogtreecommitdiffstats
path: root/testing/burp/APKBUILD
blob: 16275d3a6d3913f9fc392c7e604c258d630bd1d6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=burp
pkgver=1.4.32
pkgrel=0
pkgdesc="Backup and resore program"
url="http://burp.grke.net/"
arch="all"
license="AGPLv3"
depends=
depends_dev="librsync-dev zlib-dev openssl-dev"
makedepends="$depends_dev gettext-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/burp/burp-$pkgver/burp-$pkgver.tar.bz2
	librsync-1.0.0.patch
	"

_builddir="$srcdir"/burp
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make -C src || return 1
	make NO_ECHO= || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="d2cd5bb6f8266e7d2b0350157bedc480  burp-1.4.32.tar.bz2
ae7640202c3c36ee3b302d0551cedd59  librsync-1.0.0.patch"
sha256sums="3f1aa69d0a8dcc472f789cc4d41aed449ec9b9e79d2c61dd16d270b34c34617e  burp-1.4.32.tar.bz2
1341e72efd8a3cc4b98c7508ec3404ab6735b21722a569297abb4b8354ee3612  librsync-1.0.0.patch"
sha512sums="020947ab4f957a3dc99d65dc9197c6a65f205756b55ff2dfc4c3340e28c88f1b6ddaf579373c969c6b1af1050be8af0bc3756281a0b3a1ea9ff5b775aaed29ae  burp-1.4.32.tar.bz2
f866e5caebb69bea812f662458e824191206abbdc15a15b379df374c32cedcddb260c246d201c8eb33f9965a74e00ffb750912de90e1d991b614785f9868df8f  librsync-1.0.0.patch"