diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/opennhrp/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/opennhrp/APKBUILD')
-rw-r--r-- | main/opennhrp/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/opennhrp/APKBUILD b/main/opennhrp/APKBUILD new file mode 100644 index 0000000000..c72d0d269c --- /dev/null +++ b/main/opennhrp/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=opennhrp +pkgver=0.11 +pkgrel=0 +pkgdesc="NBMA Next Hop Resolution Protocol daemon" +url="http://sourceforge.net/projects/opennhrp" +license="GPL-3" +depends= +makedepends="c-ares-dev" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 + opennhrp-0.9.3-peer-up-bgp.patch + $pkgname.initd + $pkgname.confd + " + +build() { + cd "$srcdir"/$pkgname-$pkgver + for i in ../*.patch; do + msg "Applying $i" + patch -p1 < $i || return 1 + done + + sed -i -e 's/-Werror//' Make.rules + make || return 1 + make DESTDIR="$pkgdir" install + install -Dm755 "$srcdir"/opennhrp.initd "$pkgdir"/etc/init.d/opennhrp + install -Dm644 "$srcdir"/opennhrp.confd "$pkgdir"/etc/cond.d/opennhrp +} +md5sums="473dace79e7eefe0a0b79159a2c61cb5 opennhrp-0.11.tar.bz2 +f81539fc92800bb79668dda119a97d1d opennhrp-0.9.3-peer-up-bgp.patch +85821b61c02427146b866b7582157cfd opennhrp.initd +8eee86233728dc0d156bbfee6d98f338 opennhrp.confd" |