wok-next view tunctl/receipt @ rev 18675

syslinux/taziso: get custom config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 06 10:57:10 2015 +0100 (2015-12-06)
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 }