wok-next annotate splix/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@21017 | 1 # SliTaz package receipt v2. |
jozee@4554 | 2 |
jozee@4554 | 3 PACKAGE="splix" |
jozee@4554 | 4 VERSION="2.0.0" |
jozee@4554 | 5 CATEGORY="system-tools" |
al@21020 | 6 MAINTAINER="devel@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/" |
al@21017 | 10 |
jozee@4554 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@21017 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4554 | 13 |
al@21017 | 14 BUILD_DEPENDS="cups-dev jbigkit" |
jozee@4554 | 15 |
jozee@4554 | 16 compile_rules() { |
al@21017 | 17 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp |
al@21017 | 18 |
al@21017 | 19 make && |
al@21017 | 20 make \ |
al@21017 | 21 CUPSFILTER=/$(cups-config --serverbin)/filter \ |
al@21017 | 22 CUPSPPD=/$(cups-config --datadir)/model \ |
al@21017 | 23 install |
jozee@4554 | 24 } |
al@21017 | 25 |
al@21017 | 26 genpkg_rules() { |
jozee@4554 | 27 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15582 | 28 cp -a $install/usr/lib/cups $fs/usr/lib/ |
pascal@15582 | 29 cp -a $install/usr/share/cups $fs/usr/share |
jozee@4554 | 30 # gzip all ppd files |
gokhlayeh@8670 | 31 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 |
al@21017 | 32 DEPENDS="cups" |
jozee@4554 | 33 } |