Receipt for package "gnu-netcat"
# SliTaz package receipt. PACKAGE="gnu-netcat" VERSION="0.7.1" CATEGORY="network" SHORT_DESC="GNU rewrite of netcat, the network piping application" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" SOURCE="netcat" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="https://netcat.sourceforge.net/" WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" DEPENDS="texinfo" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/netcat/files/netcat/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/netcat/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure --mandir=/usr/share/man \ --infodir=/usr/share/info \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr } post_remove() { ln -s /bin/busybox "$1/usr/bin/nc" }
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)