wok-current annotate splix/receipt @ rev 15479
python-qrcode: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 10:36:42 2013 +0000 (2013-11-10) |
parents | 64fae462fb28 |
children | 3d805214d753 |
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 |
pascal@5714 | 19 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp |
jozee@4554 | 20 make && |
gokhlayeh@8669 | 21 make CUPSFILTER=/`cups-config --serverbin`/filter \ |
gokhlayeh@8669 | 22 CUPSPPD=/`cups-config --datadir`/model \ |
gokhlayeh@8669 | 23 install |
jozee@4554 | 24 } |
jozee@4554 | 25 |
jozee@4554 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4554 | 27 genpkg_rules() |
jozee@4554 | 28 { |
jozee@4554 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@4554 | 30 cp -a $_pkg/usr/lib/cups $fs/usr/lib/ |
jozee@4554 | 31 cp -a $_pkg/usr/share/cups $fs/usr/share |
jozee@4554 | 32 # gzip all ppd files |
gokhlayeh@8670 | 33 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 |
jozee@4554 | 34 } |