diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-29 18:28:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-29 20:40:46 +0000 |
commit | b3f28173f4270a55c46ed8ca954db02b89682c56 (patch) | |
tree | 8e8c6cc000b8449e8d8792eaf5fd1dd6e67b3ab0 /testing | |
parent | 7c22bebba35b5c1d6fc2207bfb507f073a9550a3 (diff) | |
download | aports-b3f28173f4270a55c46ed8ca954db02b89682c56.tar.bz2 aports-b3f28173f4270a55c46ed8ca954db02b89682c56.tar.xz |
testing/burp: new aport
Backup and resore program
http://burp.grke.net/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/burp/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/burp/APKBUILD b/testing/burp/APKBUILD new file mode 100644 index 000000000..e53320b19 --- /dev/null +++ b/testing/burp/APKBUILD @@ -0,0 +1,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" |