wok-current view tunctl/receipt @ rev 15762

Up tazinst (3.92)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 05 18:13:45 2014 +0100 (2014-01-05)
parents f9dee07625aa
children 5f6c5106b1f5
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 }