wok-next view splix/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="splix"
4 VERSION="2.0.0"
5 CATEGORY="system-tools"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers"
9 WEB_SITE="http://splix.ap2c.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cups-dev jbigkit"
16 compile_rules() {
17 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp
19 make &&
20 make \
21 CUPSFILTER=/$(cups-config --serverbin)/filter \
22 CUPSPPD=/$(cups-config --datadir)/model \
23 install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/lib $fs/usr/share
28 cp -a $install/usr/lib/cups $fs/usr/lib/
29 cp -a $install/usr/share/cups $fs/usr/share
30 # gzip all ppd files
31 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
32 DEPENDS="cups"
33 }