wok-next view splix/receipt @ rev 16677

Add: qarma - Zenity Clone for Qt4/Qt5
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 16 05:12:42 2014 +0300 (2014-05-16)
parents 4e8875b152c4
children f48456621a9d
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 }