mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 10:46:59 +02:00
44 lines
1 KiB
Text
44 lines
1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=igmpproxy
|
|
pkgver=0.4
|
|
pkgrel=1
|
|
pkgdesc="A simple dynamic Multicast Routing Daemon using only IGMP signalling"
|
|
url="https://github.com/pali/igmpproxy"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="linux-headers"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/pali/igmpproxy/releases/download/$pkgver/igmpproxy-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
# 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 \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ad5d8f0794cf74e42f6f99a57815402904ef7f03b76a901885c16aa0d148e552ce001832e82e4cc4ac33e2d4fd6059c51352363f13f192bca48ea9bca12c640c igmpproxy-0.4.tar.gz
|
|
"
|