wok diff tunctl/receipt @ rev 4735

Up: leafpad (0.8.17)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 07 12:04:22 2010 +0100 (2010-01-07)
parents
children f9dee07625aa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tunctl/receipt	Thu Jan 07 12:04:22 2010 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tunctl"
     1.7 +VERSION="1.5"
     1.8 +CATEGORY="networking"
     1.9 +SHORT_DESC="used to set up and maintain persistent TUN/TAP network interfaces"
    1.10 +MAINTAINER="allan316@gmail.com"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://tunctl.sourceforge.net"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +        mkdir -p _pkg/usr/bin
    1.21 +	cc -g -Wall -o tunctl tunctl.c
    1.22 +        cp -a tunctl _pkg/usr/bin/
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +}
    1.31 +