
Receipt for package "miniupnpd"
# SliTaz package receipt. PACKAGE="miniupnpd" VERSION="2.1" CATEGORY="network" SHORT_DESC="UPnP Internet Gateway Device (IGD) specifications server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://miniupnp.tuxfamily.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/files/$TARBALL" TAGS="upnp" DEPENDS="iptables libssl" BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-dev util-linux-uuid-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]*\.[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lrt" sed -i 's|uname -m|echo i486|' \ Makefile* \ netfilter*/Makefile mkdir -p $DESTDIR/usr/share/man/man8 sed -i 's,^EXTIF=eth0,EXTIF=$(route -n | awk ''/^0.0.0.0/ { print $8 }''),' \ netfilter/iptables_init.sh make -f Makefile.linux config.h KERNEL_VERSION=$(grep -s ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2) sed -i "s,OS_VERSION.*,OS_VERSION \"Linux/$KERNEL_VERSION\"," \ config.h make CFLAGS="-DIPTABLES_143" -f Makefile.linux && make -f Makefile.linux DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/etc $fs cp -a $install/usr/sbin $fs/usr }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)