wok-next diff tunctl/receipt @ rev 20717

pcmanfm-legacy: use patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:00:58 2018 +0300 (2018-05-27)
parents f9dee07625aa
children d5aab818505e
line diff
     1.1 --- a/tunctl/receipt	Sun Jan 17 22:17:58 2010 +0100
     1.2 +++ b/tunctl/receipt	Sun May 27 15:00:58 2018 +0300
     1.3 @@ -5,24 +5,26 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="used to set up and maintain persistent TUN/TAP network interfaces"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS=""
     1.8 +LICENSE="GPL"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://tunctl.sourceforge.net"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +DEPENDS=""
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18  	cd $src
    1.19 -        mkdir -p _pkg/usr/bin
    1.20 +        mkdir -p $DESTDIR/usr/bin
    1.21  	cc -g -Wall -o tunctl tunctl.c
    1.22 -        cp -a tunctl _pkg/usr/bin/
    1.23 +        cp -a tunctl $DESTDIR/usr/bin/
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/usr
    1.30 -	cp -a $_pkg/usr/bin $fs/usr
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32  }
    1.33