wok annotate igmpproxy/receipt @ rev 24113

gst-libav, gst-plugins-base-1.0: series = 1.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 29 12:51:33 2021 +0000 (2021-09-29)
parents eecd843ce61a
children 7de87766c29c
rev   line source
pascal@7825 1 # SliTaz package receipt.
pascal@7825 2
pascal@7825 3 PACKAGE="igmpproxy"
Hans-G?nter@21043 4 VERSION="0.2.1"
pascal@7825 5 CATEGORY="network"
pascal@7825 6 SHORT_DESC="Simple forwarding of Multicast traffic between networks."
pascal@7825 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
Hans-G?nter@21043 9 WEB_SITE="https://github.com/pali/igmpproxy"
Hans-G?nter@21043 10
pascal@7825 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21043 12 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
pascal@7825 13
pascal@24055 14 current_version()
pascal@24055 15 {
pascal@24055 16 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 18 }
pascal@24055 19
pascal@7825 20 # Rules to configure and make the package.
pascal@7825 21 compile_rules()
pascal@7825 22 {
Hans-G?nter@21043 23 ./configure \
Hans-G?nter@21043 24 --prefix=/usr \
Hans-G?nter@21043 25 --infodir=/usr/share/info \
Hans-G?nter@21043 26 --sysconfdir=/etc \
Hans-G?nter@21043 27 --mandir=/usr/share/man \
Hans-G?nter@21043 28 $CONFIGURE_ARGS &&
Hans-G?nter@21043 29 make -j 1 &&
pascal@15600 30 make DESTDIR=$DESTDIR install
pascal@7825 31 }
pascal@7825 32
pascal@7825 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7825 34 genpkg_rules()
pascal@7825 35 {
pascal@7825 36 mkdir -p $fs/usr/
Hans-G?nter@21043 37
Hans-G?nter@21043 38 cp -a $install/etc $fs
Hans-G?nter@21043 39 cp -a $install/usr/sbin $fs/usr
pascal@7825 40 }