wok-next diff foomatic-db-engine/receipt @ rev 15307
hardinfo: add libm & libgmodule-2.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 13:49:30 2013 +0000 (2013-09-27) |
parents | 3fc93ab80332 |
children | 9e01bc6321ea |
line diff
1.1 --- a/foomatic-db-engine/receipt Wed May 04 16:48:46 2011 +0000 1.2 +++ b/foomatic-db-engine/receipt Fri Sep 27 13:49:30 2013 +0000 1.3 @@ -5,17 +5,18 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database" 1.6 MAINTAINER="jozee@slitaz.org" 1.7 -DEPENDS="ghostscript perl libxml2 foomatic-filters bash" 1.8 -BUILD_DEPENDS="cups-dev file" 1.9 +LICENSE="GPL2" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" 1.12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" 1.13 TAGS="printer driver printing" 1.14 1.15 +DEPENDS="ghostscript perl libxml2 foomatic-filters bash" 1.16 +BUILD_DEPENDS="cups-dev file libxml2-dev" 1.17 + 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION 1.22 PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') 1.23 cd $src 1.24 ./configure \ 1.25 @@ -24,7 +25,7 @@ 1.26 $CONFIGURE_ARGS && 1.27 make && 1.28 eval `perl -V:archname` 1.29 - make DESTDIR=$PWD/_pkg \ 1.30 + make DESTDIR=$DESTDIR \ 1.31 INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/${archname} \ 1.32 INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \ 1.33 INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/${archname} install 1.34 @@ -35,11 +36,11 @@ 1.35 genpkg_rules() 1.36 { 1.37 mkdir -p $fs/usr/share $fs/etc 1.38 - cp -a $_pkg/etc/foomatic $fs/etc 1.39 - cp -a $_pkg/usr/bin $fs/usr 1.40 - cp -a $_pkg/usr/sbin $fs/usr 1.41 - cp -a $_pkg/usr/lib $fs/usr 1.42 - cp -a $_pkg/usr/share/foomatic $fs/usr/share 1.43 + cp -a $install/etc/foomatic $fs/etc 1.44 + cp -a $install/usr/bin $fs/usr 1.45 + cp -a $install/usr/sbin $fs/usr 1.46 + cp -a $install/usr/lib $fs/usr 1.47 + cp -a $install/usr/share/foomatic $fs/usr/share 1.48 1.49 } 1.50