mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=igmpproxy
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
pkgdesc="a simple dynamic Multicast Routing Daemon using only IGMP signalling"
|
|
url="http://sourceforge.net/projects/igmpproxy/"
|
|
arch="all"
|
|
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"
|