wok-stable view tunctl/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 2ea8600e4329
children
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 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tunctl.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p _pkg/usr/bin
18 cc -g -Wall -o tunctl tunctl.c
19 cp -a tunctl _pkg/usr/bin/
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 }