wok-stable diff splix/receipt @ rev 4608

Improve fswebcam.conf
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:41:18 2009 +0000 (2009-12-15)
parents
children 4897058add72
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/splix/receipt	Tue Dec 15 16:41:18 2009 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="splix"
     1.7 +VERSION="2.0.0"
     1.8 +CATEGORY="system-tools"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers"
    1.11 +WEB_SITE="http://splix.ap2c.org/"
    1.12 +DEPENDS="cups gcc"
    1.13 +BUILD_DEPENDS="cups cups-dev jbigkit"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL"
    1.16 +TAGS=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +	  cd $src
    1.22 +	  make &&
    1.23 +	  make  CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \
    1.24 +			CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \
    1.25 +			install 
    1.26 +}
    1.27 +	
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.32 +	cp -a $_pkg/usr/lib/cups $fs/usr/lib/
    1.33 +	cp -a $_pkg/usr/share/cups $fs/usr/share		
    1.34 +	# gzip all ppd files
    1.35 +	find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
    1.36 +}