wok annotate splix/receipt @ rev 5021

Up: libgphoto2, gphoto2 (fix security and bugs)
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 01 16:54:24 2010 +0000 (2010-03-01)
parents a0d93e8f5edf
children cab9307d1516
rev   line source
jozee@4554 1 # SliTaz package receipt.
jozee@4554 2
jozee@4554 3 PACKAGE="splix"
jozee@4554 4 VERSION="2.0.0"
jozee@4554 5 CATEGORY="system-tools"
jozee@4554 6 MAINTAINER="jozee@slitaz.org"
jozee@4554 7 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers"
jozee@4554 8 WEB_SITE="http://splix.ap2c.org/"
pascal@5007 9 DEPENDS="cups gcc gcc-lib-base"
jozee@4554 10 BUILD_DEPENDS="cups cups-dev jbigkit"
jozee@4554 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@4554 12 WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL"
jozee@4554 13 TAGS=""
jozee@4554 14
jozee@4554 15 # Rules to configure and make the package.
jozee@4554 16
jozee@4554 17 compile_rules() {
jozee@4554 18 cd $src
jozee@4554 19 make &&
jozee@4554 20 make CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \
jozee@4554 21 CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \
jozee@4554 22 install
jozee@4554 23 }
jozee@4554 24
jozee@4554 25 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4554 26 genpkg_rules()
jozee@4554 27 {
jozee@4554 28 mkdir -p $fs/usr/lib $fs/usr/share
jozee@4554 29 cp -a $_pkg/usr/lib/cups $fs/usr/lib/
jozee@4554 30 cp -a $_pkg/usr/share/cups $fs/usr/share
jozee@4554 31 # gzip all ppd files
jozee@4554 32 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
jozee@4554 33 }