wok view splix/receipt @ rev 18411
open-vm-tools: more diag
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Sep 19 16:17:57 2015 +0000 (2015-09-19) |
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 }