wok-current view splix/receipt @ rev 22942
updated icewm again (1.3.8 -> 1.6.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 27 17:34:50 2020 +0100 (2020-02-27) |
parents | 4e8875b152c4 |
children | 4bae0fb81a17 |
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL"
12 TAGS=""
14 DEPENDS="cups gcc gcc-lib-base"
15 BUILD_DEPENDS="cups cups-dev jbigkit"
17 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp
22 make &&
23 make CUPSFILTER=/`cups-config --serverbin`/filter \
24 CUPSPPD=/`cups-config --datadir`/model \
25 install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/usr/lib/cups $fs/usr/lib/
33 cp -a $install/usr/share/cups $fs/usr/share
34 # gzip all ppd files
35 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
36 }