wok-next diff re2c/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 23c3aed67cd9
children
line diff
     1.1 --- a/re2c/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/re2c/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,30 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="re2c"
     1.8  VERSION="0.13.5"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners."
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +SHORT_DESC="Writing very fast and flexible scanners"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="PublicDomain"
    1.15 +WEB_SITE="http://re2c.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://re2c.org/"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="scanner"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	cd $src
    1.26 +compile_rules() {
    1.27  	./configure \
    1.28  		--prefix=/usr \
    1.29  		$CONFIGURE_ARGS &&
    1.30  	make &&
    1.31 -	make DESTDIR=$DESTDIR install
    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
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	TAGS="scanner"
    1.43  }