wok-next diff splix/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 3d805214d753 |
children | d5aab818505e |
line diff
1.1 --- a/splix/receipt Sat Nov 30 11:34:10 2013 +0000 1.2 +++ b/splix/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="splix" 1.8 VERSION="2.0.0" 1.9 @@ -7,30 +7,27 @@ 1.10 LICENSE="GPL2" 1.11 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers" 1.12 WEB_SITE="http://splix.ap2c.org/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL" 1.16 -TAGS="" 1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 -DEPENDS="cups gcc gcc-lib-base" 1.20 -BUILD_DEPENDS="cups cups-dev jbigkit" 1.21 - 1.22 -# Rules to configure and make the package. 1.23 +BUILD_DEPENDS="cups-dev jbigkit" 1.24 1.25 compile_rules() { 1.26 - cd $src 1.27 - sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp 1.28 - make && 1.29 - make CUPSFILTER=/`cups-config --serverbin`/filter \ 1.30 - CUPSPPD=/`cups-config --datadir`/model \ 1.31 - install 1.32 + sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp 1.33 + 1.34 + make && 1.35 + make \ 1.36 + CUPSFILTER=/$(cups-config --serverbin)/filter \ 1.37 + CUPSPPD=/$(cups-config --datadir)/model \ 1.38 + install 1.39 } 1.40 - 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 + 1.45 +genpkg_rules() { 1.46 mkdir -p $fs/usr/lib $fs/usr/share 1.47 cp -a $install/usr/lib/cups $fs/usr/lib/ 1.48 cp -a $install/usr/share/cups $fs/usr/share 1.49 # gzip all ppd files 1.50 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 1.51 + DEPENDS="cups" 1.52 }