wok-next diff wput/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents c4e53a39395a
children d5aab818505e
line diff
     1.1 --- a/wput/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/wput/receipt	Sun Aug 26 09:13:55 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="wput"
     1.8  VERSION="0.6.2"
     1.9 @@ -7,12 +7,11 @@
    1.10  MAINTAINER="l.lemarinel@gmail.com"
    1.11  LICENSE="GPL2"
    1.12  WEB_SITE="http://wput.sourceforge.net/"
    1.13 -TARBALL="${PACKAGE}-${VERSION}.tgz"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 +compile_rules() {
    1.22  	sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25 @@ -23,9 +22,6 @@
    1.26  	make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 -	mkdir -p $fs/usr
    1.33 -	cp -a $install/usr/bin $fs/usr
    1.34 +genpkg_rules() {
    1.35 +	copy @std
    1.36  }