wok-next view tunctl/receipt @ rev 16569

Up: slitaz-boot-scripts (5.5.1) Fix first user creation
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 13:43:41 2014 +0200 (2014-05-02)
parents f9dee07625aa
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="tunctl"
4 VERSION="1.5"
5 CATEGORY="network"
6 SHORT_DESC="used to set up and maintain persistent TUN/TAP network interfaces"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tunctl.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr/bin
20 cc -g -Wall -o tunctl tunctl.c
21 cp -a tunctl $DESTDIR/usr/bin/
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }