summaryrefslogtreecommitdiffstats
path: root/testing/burp/APKBUILD
blob: e53320b19e691807bf97c4ce54a668c1dc8c21a2 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=burp
pkgver=1.1.30
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"

_builddir="$srcdir"/burp-$pkgver
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
#	cd autoconf
#	aclocal -I burp-macros && autoconf || return 1
#	cp configure ../
}

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

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

md5sums="b3cdc0d310d2c9e2656d36f311be4c66  burp-1.1.30.tar.bz2"