wok-next view splix/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 3d805214d753 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="splix"
4 VERSION="2.0.0"
5 CATEGORY="system-tools"
6 MAINTAINER="jozee@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 }