# HG changeset patch # User Pascal Bellard # Date 1376404733 0 # Node ID 2540c57957d2ce95c935520fe07ae95cd2020d13 # Parent de11efa2e0a04ed899c64aff8f40975b31b7b093 foomatic-db: add LICENSE diff -r de11efa2e0a0 -r 2540c57957d2 foomatic-db-engine/receipt --- a/foomatic-db-engine/receipt Tue Aug 13 14:12:54 2013 +0000 +++ b/foomatic-db-engine/receipt Tue Aug 13 14:38:53 2013 +0000 @@ -5,17 +5,18 @@ CATEGORY="system-tools" SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database" MAINTAINER="jozee@slitaz.org" -DEPENDS="ghostscript perl libxml2 foomatic-filters bash" -BUILD_DEPENDS="cups-dev file" +LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.linuxprinting.org/foomatic.html" WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" TAGS="printer driver printing" +DEPENDS="ghostscript perl libxml2 foomatic-filters bash" +BUILD_DEPENDS="cups-dev file libxml2-dev" + # Rules to configure and make the package. compile_rules() { - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') cd $src ./configure \ @@ -24,7 +25,7 @@ $CONFIGURE_ARGS && make && eval `perl -V:archname` - make DESTDIR=$PWD/_pkg \ + make DESTDIR=$DESTDIR \ INSTALLARCHLIB=/usr/lib/perl5/$PERL_VER/${archname} \ INSTALLSITELIB=/usr/lib/perl5/site_perl/$PERL_VER/ \ INSTALLSITEARCH=/usr/lib/perl5/site_perl/$PERL_VER/${archname} install @@ -35,11 +36,11 @@ genpkg_rules() { mkdir -p $fs/usr/share $fs/etc - cp -a $_pkg/etc/foomatic $fs/etc - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/sbin $fs/usr - cp -a $_pkg/usr/lib $fs/usr - cp -a $_pkg/usr/share/foomatic $fs/usr/share + cp -a $install/etc/foomatic $fs/etc + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/foomatic $fs/usr/share } diff -r de11efa2e0a0 -r 2540c57957d2 foomatic-db-nonfree/receipt --- a/foomatic-db-nonfree/receipt Tue Aug 13 14:12:54 2013 +0000 +++ b/foomatic-db-nonfree/receipt Tue Aug 13 14:38:53 2013 +0000 @@ -5,24 +5,24 @@ CATEGORY="system-tools" SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database" MAINTAINER="jozee@slitaz.org" -DEPENDS="perl libxml2 foomatic-db" -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.linuxprinting.org/foomatic.html" WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" TAGS="printer driver printing" +DEPENDS="perl libxml2 foomatic-db" +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" + # Rules to configure and make the package. compile_rules() { - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION cd $src ./configure \ --prefix=/usr \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } @@ -30,7 +30,7 @@ genpkg_rules() { mkdir -p $fs/usr/share/licenses/$PACKAGE/ - cp -a $_pkg/usr/share/foomatic $fs/usr/share + cp -a $install/usr/share/foomatic $fs/usr/share # gzip all ppd files find $fs/usr/share/foomatic/db/source -name "*.ppd" | xargs gzip -n9 diff -r de11efa2e0a0 -r 2540c57957d2 foomatic-db/receipt --- a/foomatic-db/receipt Tue Aug 13 14:12:54 2013 +0000 +++ b/foomatic-db/receipt Tue Aug 13 14:38:53 2013 +0000 @@ -5,24 +5,25 @@ CATEGORY="system-tools" SHORT_DESC="Database used by foomatic-db-engine to generate PPD files" MAINTAINER="jozee@slitaz.org" -DEPENDS="ghostscript perl libxml2" -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" +LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.linuxprinting.org/foomatic.html" WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" TAGS="printer driver printing" +DEPENDS="ghostscript perl libxml2" +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" + # Rules to configure and make the package. compile_rules() { - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION cd $src ./configure \ --prefix=/usr \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } @@ -30,7 +31,7 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/share $fs/usr + cp -a $install/usr/share $fs/usr # remove unzipped ppd files find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \; diff -r de11efa2e0a0 -r 2540c57957d2 foomatic-filters/receipt --- a/foomatic-filters/receipt Tue Aug 13 14:12:54 2013 +0000 +++ b/foomatic-filters/receipt Tue Aug 13 14:38:53 2013 +0000 @@ -5,13 +5,15 @@ CATEGORY="system-tools" SHORT_DESC="Top quality printer drivers for Canon, Epson" MAINTAINER="jozee@slitaz.org" -DEPENDS="ghostscript gcc-lib-base" -BUILD_DEPENDS="ghostscript-dev cups-dev" +LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.linuxprinting.org/foomatic.html" WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" TAGS="printer driver printing" +DEPENDS="ghostscript gcc-lib-base" +BUILD_DEPENDS="ghostscript-dev cups-dev cups" + # Rules to configure and make the package. compile_rules() { @@ -21,7 +23,7 @@ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } @@ -30,9 +32,9 @@ { mkdir -p $fs/etc $fs/usr/lib - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/cups $fs/usr/lib - cp -a $_pkg/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/cups $fs/usr/lib + cp -a $install/etc $fs }