wok-next diff foomatic-filters/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents fd22b033a84a
children d5aab818505e
line diff
     1.1 --- a/foomatic-filters/receipt	Sun Dec 08 08:52:14 2013 +0000
     1.2 +++ b/foomatic-filters/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -1,40 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="foomatic-filters"
     1.8 -VERSION="4.0.5" 
     1.9 +VERSION="4.0.5"
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="Top quality printer drivers for Canon, Epson"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.linuxprinting.org/foomatic.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.linuxprinting.org/foomatic.html"
    1.18  WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
    1.19 -TAGS="printer driver printing"
    1.20  
    1.21 -DEPENDS="ghostscript gcc-lib-base"
    1.22  BUILD_DEPENDS="ghostscript-dev cups-dev cups a2ps autoconf"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--sysconfdir=/etc \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 +compile_rules() {
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36 -	
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/etc $fs/usr/lib
    1.43 -	
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/lib/cups $fs/usr/lib
    1.46 -	cp -a $install/etc   $fs
    1.47 -	
    1.48 +genpkg_rules() {
    1.49 +	copy @std
    1.50 +	DEPENDS="ghostscript gcc-lib-base"
    1.51 +	TAGS="printer driver printing"
    1.52  }
    1.53 -