summaryrefslogtreecommitdiffstats
path: root/testing/burp/APKBUILD
blob: 2a1850e77b1d043136d85a3df932cfe2be4f3e6c (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.3.10
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%20%28stable%29/burp-$pkgver.tar.bz2"

_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
#	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="c73717179c5901a1e4c1968a9e6accb8  burp-1.3.10.tar.bz2"