wok annotate splix/receipt @ rev 22774
Add serf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 25 17:25:42 2020 +0100 (2020-01-25) |
parents | 4e8875b152c4 |
children | 4bae0fb81a17 |
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" |
pascal@15582 | 7 LICENSE="GPL2" |
jozee@4554 | 8 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers" |
jozee@4554 | 9 WEB_SITE="http://splix.ap2c.org/" |
jozee@4554 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4554 | 11 WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL" |
jozee@4554 | 12 TAGS="" |
jozee@4554 | 13 |
pascal@15582 | 14 DEPENDS="cups gcc gcc-lib-base" |
pascal@15582 | 15 BUILD_DEPENDS="cups cups-dev jbigkit" |
pascal@15582 | 16 |
jozee@4554 | 17 # Rules to configure and make the package. |
jozee@4554 | 18 |
jozee@4554 | 19 compile_rules() { |
jozee@4554 | 20 cd $src |
pascal@5714 | 21 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp |
jozee@4554 | 22 make && |
gokhlayeh@8669 | 23 make CUPSFILTER=/`cups-config --serverbin`/filter \ |
gokhlayeh@8669 | 24 CUPSPPD=/`cups-config --datadir`/model \ |
gokhlayeh@8669 | 25 install |
jozee@4554 | 26 } |
jozee@4554 | 27 |
jozee@4554 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4554 | 29 genpkg_rules() |
jozee@4554 | 30 { |
jozee@4554 | 31 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15582 | 32 cp -a $install/usr/lib/cups $fs/usr/lib/ |
pascal@15582 | 33 cp -a $install/usr/share/cups $fs/usr/share |
jozee@4554 | 34 # gzip all ppd files |
gokhlayeh@8670 | 35 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 |
jozee@4554 | 36 } |