wok-next diff macchanger/receipt @ rev 21047

Up tazpkg (971), cookutils (1095)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 21:15:05 2018 +0200 (2018-11-26)
parents 3765f181a6d5
children
line diff
     1.1 --- a/macchanger/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/macchanger/receipt	Mon Nov 26 21:15:05 2018 +0200
     1.3 @@ -1,32 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="macchanger"
     1.8  VERSION="1.5.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A small utility to change your MAC address"
    1.11 -MAINTAINER="gokhlayeh@slitaz.org"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.gnu.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.gnu.org"
    1.18  WGET_URL="ftp://ftp.gnu.org/gnu/macchanger/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	cd $src
    1.24 +compile_rules() {
    1.25  	./configure \
    1.26  		--prefix=/usr \
    1.27  		--infodir=/usr/share/info \
    1.28  		--mandir=/usr/share/man \
    1.29  		$CONFIGURE_ARGS &&
    1.30 -	make && make DESTDIR=$DESTDIR install
    1.31 +	make &&
    1.32 +	make DESTDIR=$install install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/share
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 -	cp -a $install/usr/share/macchanger $fs/usr/share	
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43  }
    1.44 -