wok-current view splix/receipt @ rev 21381

updated lua5.1 and lua5.1-dev (5.1.4 -> 5.1.5)
author Hans-G?nter Theisgen
date Mon Apr 22 11:00:16 2019 +0100 (2019-04-22)
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 }