wok rev 15073
foomatic-db: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 14:38:53 2013 +0000 (2013-08-13) |
parents | de11efa2e0a0 |
children | c8af0d4f62e9 |
files | foomatic-db-engine/receipt foomatic-db-nonfree/receipt foomatic-db/receipt foomatic-filters/receipt |
line diff
1.1 --- a/foomatic-db-engine/receipt Tue Aug 13 14:12:54 2013 +0000 1.2 +++ b/foomatic-db-engine/receipt Tue Aug 13 14:38:53 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
2.1 --- a/foomatic-db-nonfree/receipt Tue Aug 13 14:12:54 2013 +0000 2.2 +++ b/foomatic-db-nonfree/receipt Tue Aug 13 14:38:53 2013 +0000 2.3 @@ -5,24 +5,24 @@ 2.4 CATEGORY="system-tools" 2.5 SHORT_DESC="database engine generates PPD files from the data in Foomatic's XML database" 2.6 MAINTAINER="jozee@slitaz.org" 2.7 -DEPENDS="perl libxml2 foomatic-db" 2.8 -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 2.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.10 WEB_SITE="http://www.linuxprinting.org/foomatic.html" 2.11 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" 2.12 TAGS="printer driver printing" 2.13 2.14 +DEPENDS="perl libxml2 foomatic-db" 2.15 +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 2.16 + 2.17 # Rules to configure and make the package. 2.18 compile_rules() 2.19 { 2.20 - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION 2.21 cd $src 2.22 ./configure \ 2.23 --prefix=/usr \ 2.24 --sysconfdir=/etc \ 2.25 $CONFIGURE_ARGS && 2.26 make && 2.27 - make DESTDIR=$PWD/_pkg install 2.28 + make DESTDIR=$DESTDIR install 2.29 2.30 } 2.31 2.32 @@ -30,7 +30,7 @@ 2.33 genpkg_rules() 2.34 { 2.35 mkdir -p $fs/usr/share/licenses/$PACKAGE/ 2.36 - cp -a $_pkg/usr/share/foomatic $fs/usr/share 2.37 + cp -a $install/usr/share/foomatic $fs/usr/share 2.38 2.39 # gzip all ppd files 2.40 find $fs/usr/share/foomatic/db/source -name "*.ppd" | xargs gzip -n9
3.1 --- a/foomatic-db/receipt Tue Aug 13 14:12:54 2013 +0000 3.2 +++ b/foomatic-db/receipt Tue Aug 13 14:38:53 2013 +0000 3.3 @@ -5,24 +5,25 @@ 3.4 CATEGORY="system-tools" 3.5 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files" 3.6 MAINTAINER="jozee@slitaz.org" 3.7 -DEPENDS="ghostscript perl libxml2" 3.8 -BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 3.9 +LICENSE="GPL2" 3.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" 3.12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" 3.13 TAGS="printer driver printing" 3.14 3.15 +DEPENDS="ghostscript perl libxml2" 3.16 +BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 3.17 + 3.18 # Rules to configure and make the package. 3.19 compile_rules() 3.20 { 3.21 - mv $WOK/$PACKAGE/$PACKAGE* $WOK/$PACKAGE/$PACKAGE-$VERSION 3.22 cd $src 3.23 ./configure \ 3.24 --prefix=/usr \ 3.25 --sysconfdir=/etc \ 3.26 $CONFIGURE_ARGS && 3.27 make && 3.28 - make DESTDIR=$PWD/_pkg install 3.29 + make DESTDIR=$DESTDIR install 3.30 3.31 } 3.32 3.33 @@ -30,7 +31,7 @@ 3.34 genpkg_rules() 3.35 { 3.36 mkdir -p $fs/usr 3.37 - cp -a $_pkg/usr/share $fs/usr 3.38 + cp -a $install/usr/share $fs/usr 3.39 3.40 # remove unzipped ppd files 3.41 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
4.1 --- a/foomatic-filters/receipt Tue Aug 13 14:12:54 2013 +0000 4.2 +++ b/foomatic-filters/receipt Tue Aug 13 14:38:53 2013 +0000 4.3 @@ -5,13 +5,15 @@ 4.4 CATEGORY="system-tools" 4.5 SHORT_DESC="Top quality printer drivers for Canon, Epson" 4.6 MAINTAINER="jozee@slitaz.org" 4.7 -DEPENDS="ghostscript gcc-lib-base" 4.8 -BUILD_DEPENDS="ghostscript-dev cups-dev" 4.9 +LICENSE="GPL2" 4.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" 4.12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" 4.13 TAGS="printer driver printing" 4.14 4.15 +DEPENDS="ghostscript gcc-lib-base" 4.16 +BUILD_DEPENDS="ghostscript-dev cups-dev cups" 4.17 + 4.18 # Rules to configure and make the package. 4.19 compile_rules() 4.20 { 4.21 @@ -21,7 +23,7 @@ 4.22 --sysconfdir=/etc \ 4.23 $CONFIGURE_ARGS && 4.24 make && 4.25 - make DESTDIR=$PWD/_pkg install 4.26 + make DESTDIR=$DESTDIR install 4.27 4.28 } 4.29 4.30 @@ -30,9 +32,9 @@ 4.31 { 4.32 mkdir -p $fs/etc $fs/usr/lib 4.33 4.34 - cp -a $_pkg/usr/bin $fs/usr 4.35 - cp -a $_pkg/usr/lib/cups $fs/usr/lib 4.36 - cp -a $_pkg/etc $fs 4.37 + cp -a $install/usr/bin $fs/usr 4.38 + cp -a $install/usr/lib/cups $fs/usr/lib 4.39 + cp -a $install/etc $fs 4.40 4.41 } 4.42