wok-next diff foomatic-db/receipt @ rev 21018
Nasty typo broke the cooker
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 03:59:24 2018 +0300 (2018-10-17) |
parents | 2540c57957d2 |
children | d5aab818505e |
line diff
1.1 --- a/foomatic-db/receipt Tue Aug 13 14:38:53 2013 +0000 1.2 +++ b/foomatic-db/receipt Wed Oct 17 03:59:24 2018 +0300 1.3 @@ -1,39 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="foomatic-db" 1.8 -VERSION="4.0-20101114" 1.9 +VERSION="4.0-20101114" 1.10 CATEGORY="system-tools" 1.11 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files" 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 perl libxml2" 1.22 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev" 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 + make DESTDIR=$DESTDIR install || return 1 1.38 + 1.39 + chown -R root:root $install 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - mkdir -p $fs/usr 1.46 - cp -a $install/usr/share $fs/usr 1.47 - 1.48 - # remove unzipped ppd files 1.49 - find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \; 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 + DEPENDS="ghostscript perl libxml2" 1.53 + TAGS="printer driver printing" 1.54 } 1.55 -