wok-current annotate net-tools/receipt @ rev 19170

Fix typo in $MAINTAINER
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 02 11:40:11 2016 +0300 (2016-06-02)
parents 3765f181a6d5
children 9dbba587fe4e
rev   line source
pascal@11215 1 # SliTaz package receipt.
pascal@11215 2
pascal@11215 3 PACKAGE="net-tools"
pascal@11215 4 VERSION="1.60"
pascal@11215 5 CATEGORY="network"
pascal@11215 6 SHORT_DESC="Network toolbox."
pascal@11215 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pascal@11215 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11215 10 WEB_SITE="http://www.tazenda.demon.co.uk/phil/net-tools"
pascal@11215 11 WGET_URL="$WEB_SITE/$TARBALL"
pascal@11215 12
pascal@11215 13 # Rules to configure and make the package.
pascal@11215 14 compile_rules()
pascal@11215 15 {
pascal@11215 16 cd $src
pascal@15584 17 mkdir $DESTDIR
pascal@11215 18 enabled="HAVE_AFUNIX HAVE_AFINET HAVE_HWETHER HAVE_HWPPP \
pascal@11215 19 HAVE_HWTUNNEL HAVE_FW_MASQUERADE HAVE_IP_TOOLS HAVE_MII"
pascal@11215 20 sed '/HAVE_/!d;s/.*\(HAVE.*\)../\1/' < config.in | while read name; do
pascal@11215 21 val=0
pascal@11215 22 case " $enabled " in
pascal@11215 23 *\ $name\ *) val=1 ;;
pascal@11215 24 esac
pascal@11215 25 echo "#define $name $val"
pascal@11215 26 echo "$name=$val" 1>&2
pascal@11215 27 done > config.h 2> config.make
pascal@11215 28 sed -i 's/default:/&;/' hostname.c lib/inet_sr.c
pascal@11215 29 sed -i '/"usage/,/10baseT/s/.*/&\\n\\/' mii-tool.c
pascal@16601 30 make -j 1 &&
pascal@15584 31 make BASEDIR=$DESTDIR install
pascal@11215 32 }
pascal@11215 33
pascal@11215 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11215 35 genpkg_rules()
pascal@11215 36 {
pascal@15584 37 cp -a $install/bin $fs
pascal@15584 38 cp -a $install/sbin $fs
pascal@11215 39 }