wok-next diff foomatic-db-engine/receipt @ rev 21156

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 02 16:32:35 2019 +0200 (2019-02-02)
parents d5aab818505e
children
line diff
     1.1 --- a/foomatic-db-engine/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/foomatic-db-engine/receipt	Sat Feb 02 16:32:35 2019 +0200
     1.3 @@ -13,6 +13,9 @@
     1.4  WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
     1.5  
     1.6  BUILD_DEPENDS="cups-dev file libxml2-dev perl"
     1.7 +DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
     1.8 +
     1.9 +TAGS="printer driver printing"
    1.10  
    1.11  compile_rules() {
    1.12  	PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    1.13 @@ -25,15 +28,12 @@
    1.14  		INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/$archname \
    1.15  		INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \
    1.16  		INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/$archname \
    1.17 -		install
    1.18 +		install || return 1
    1.19 +
    1.20 +	find $install -type f -name '*.pm' -exec chmod u+w '{}' \; # 444->644
    1.21 +	fix symlinks
    1.22  }
    1.23  
    1.24 -genpkg_rules() {
    1.25 -	copy @std
    1.26 -	DEPENDS="ghostscript perl libxml2 foomatic-filters bash"
    1.27 -	TAGS="printer driver printing"
    1.28 -}
    1.29 -
    1.30 -pre_install() {
    1.31 -	rm -rf "$1/usr/lib/perl5/site_perl/current"
    1.32 -}
    1.33 +#pre_install() {
    1.34 +#	rm -rf "$1/usr/lib/perl5/site_perl/current"
    1.35 +#}