wok-next annotate tunctl/receipt @ rev 9914
blender: fix bdeps (I hope)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 20:12:58 2011 +0200 (2011-05-17) |
parents | 2ea8600e4329 |
children | 600aaedb561d |
rev | line source |
---|---|
allan316@4527 | 1 # SliTaz package receipt. |
allan316@4527 | 2 |
allan316@4527 | 3 PACKAGE="tunctl" |
allan316@4527 | 4 VERSION="1.5" |
pankso@4804 | 5 CATEGORY="network" |
allan316@4527 | 6 SHORT_DESC="used to set up and maintain persistent TUN/TAP network interfaces" |
allan316@4527 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4527 | 8 DEPENDS="" |
allan316@4527 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4527 | 10 WEB_SITE="http://tunctl.sourceforge.net" |
allan316@4527 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
allan316@4527 | 12 |
allan316@4527 | 13 # Rules to configure and make the package. |
allan316@4527 | 14 compile_rules() |
allan316@4527 | 15 { |
allan316@4527 | 16 cd $src |
allan316@4527 | 17 mkdir -p _pkg/usr/bin |
allan316@4527 | 18 cc -g -Wall -o tunctl tunctl.c |
allan316@4527 | 19 cp -a tunctl _pkg/usr/bin/ |
allan316@4527 | 20 } |
allan316@4527 | 21 |
allan316@4527 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4527 | 23 genpkg_rules() |
allan316@4527 | 24 { |
allan316@4527 | 25 mkdir -p $fs/usr |
allan316@4527 | 26 cp -a $_pkg/usr/bin $fs/usr |
allan316@4527 | 27 } |
allan316@4527 | 28 |