wok-next diff makeself/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 3765f181a6d5
children 5ffe59e2de3a
line diff
     1.1 --- a/makeself/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/makeself/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,32 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="makeself"
     1.8  VERSION="2.1.5"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Utility to create self-extraction packages."
    1.11 -MAINTAINER="slaxemulator@gmail.com"
    1.12 +SHORT_DESC="Utility to create self-extraction packages"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://megastep.org/makeself"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.run"
    1.18 -WEB_SITE="http://megastep.org/makeself"
    1.19  WGET_URL="http://megastep.org/makeself/$PACKAGE-$VERSION.run"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 -	mkdir -p $DESTDIR/usr/bin
    1.26 -	mkdir -p $DESTDIR/usr/share/makeself
    1.27 -	cp -a makeself.sh $DESTDIR/usr/bin/makeself
    1.28 -	cp -a makeself-header.sh $DESTDIR/usr/share/makeself
    1.29 -	sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $DESTDIR/usr/bin/makeself
    1.30 -
    1.31 +compile_rules() {
    1.32 +	install -Dm755 makeself.sh        $install/usr/bin/makeself
    1.33 +	install -Dm755 makeself-header.sh $install/usr/share/makeself/makeself-header.sh
    1.34 +	sed \
    1.35 +		-e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' \
    1.36 +		-i $install/usr/bin/makeself
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	mkdir -p $fs/usr
    1.44  	cp -a $install/usr/bin $fs/usr
    1.45  	cp -a $install/usr/share $fs/usr
    1.46  }
    1.47 -