# SliTaz package receipt. PACKAGE="igmpproxy" VERSION="0.3" CATEGORY="network" SHORT_DESC="Simple forwarding of Multicast traffic between networks." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/pali/igmpproxy" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" CONFIG_FILES="/etc/igmpproxy.conf" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders etc cook_copy_folders sbin }