wok view splix/receipt @ rev 24678

updated irssi (1.2.2 -> 1.2.3)
author Hans-G?nter Theisgen
date Sat Mar 12 09:24:40 2022 +0100 (2022-03-12)
parents 3d805214d753
children 65ff25c4de90
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules() {
26 cd $src
27 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp
28 make &&
29 make CUPSFILTER=/`cups-config --serverbin`/filter \
30 CUPSPPD=/`cups-config --datadir`/model \
31 install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/lib/cups $fs/usr/lib/
39 cp -a $install/usr/share/cups $fs/usr/share
40 # gzip all ppd files
41 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
42 }