wok-6.x view tunctl/receipt @ rev 19758

Up: libmagic (5.30)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:04:43 2017 +0000 (2017-02-19)
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 }