diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-18 09:59:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-18 09:59:47 +0000 |
commit | 5821ed12c8963fe200673b0347cd117eba28db29 (patch) | |
tree | 34a9a73044989950a5edc9a79d8419664d176443 /main/igmpproxy | |
parent | 15a201d1e9cb0622436067a9da0062cd9d745c86 (diff) | |
download | aports-5821ed12c8963fe200673b0347cd117eba28db29.tar.bz2 aports-5821ed12c8963fe200673b0347cd117eba28db29.tar.xz |
main/igmpproxy: moved from testing
Diffstat (limited to 'main/igmpproxy')
-rw-r--r-- | main/igmpproxy/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD new file mode 100644 index 000000000..2ec2c0189 --- /dev/null +++ b/main/igmpproxy/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=igmpproxy +pkgver=0.1 +pkgrel=0 +pkgdesc="a simple dynamic Multicast Routing Daemon using only IGMP signalling" +url="http://sourceforge.net/projects/igmpproxy/" +license="GPL" +depends="" +makedepends="" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # our kernel have a patch that changes MAXVIFS + # note that this is ABI incompatible + sed -i -e 's:^#define MAX_MC_VIFS.*:#define MAX_MC_VIFS MAXVIFS:' \ + src/igmpproxy.h + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR="$pkgdir" install + + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="c56f41ec195bc1fe016369bf74efc5a1 igmpproxy-0.1.tar.gz" |