wok annotate tunctl/receipt @ rev 18735

Up zerobin (6 feb 2014)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 16:28:32 2015 +0100 (2015-12-21)
parents f9dee07625aa
children 5f6c5106b1f5
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"
pascal@15590 8 LICENSE="GPL"
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
pascal@15590 13 DEPENDS=""
pascal@15590 14
allan316@4527 15 # Rules to configure and make the package.
allan316@4527 16 compile_rules()
allan316@4527 17 {
allan316@4527 18 cd $src
pascal@15590 19 mkdir -p $DESTDIR/usr/bin
allan316@4527 20 cc -g -Wall -o tunctl tunctl.c
pascal@15590 21 cp -a tunctl $DESTDIR/usr/bin/
allan316@4527 22 }
allan316@4527 23
allan316@4527 24 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4527 25 genpkg_rules()
allan316@4527 26 {
allan316@4527 27 mkdir -p $fs/usr
pascal@15590 28 cp -a $install/usr/bin $fs/usr
allan316@4527 29 }
allan316@4527 30