wok-next diff foo2xqx/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d958fec46c9f |
children |
line diff
1.1 --- a/foo2xqx/receipt Tue Jul 10 20:08:05 2018 +0300 1.2 +++ b/foo2xqx/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="foo2xqx" 1.5 VERSION="20170320" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="a linux printer driver for XQX stream protocol" 1.8 +SHORT_DESC="Linux printer driver for XQX stream protocol" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 WEB_SITE="http://foo2xqx.rkkda.com/" 1.12 @@ -13,12 +13,9 @@ 1.13 WGET_URL="http://foo2zjs.rkkda.com/$TARBALL" 1.14 1.15 BUILD_DEPENDS="foomatic-db-engine bc groff coreutils-context-system" 1.16 -SPLIT="foo2xqx foo2xqx-data" 1.17 +SPLIT="$PACKAGE-data" 1.18 1.19 -# Rules to configure and make the package. 1.20 -# 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 FOO2XQX="P1005 P1006 P1007 P1008 P1505" 1.25 FOO2ZJS="cpwl 2200 2300 2430 1000 1005 1018 1020 1025" 1.26 FOO2HP="1215 1600 2600n" 1.27 @@ -29,28 +26,26 @@ 1.28 FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610" 1.29 make 1.30 for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \ 1.31 - $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do 1.32 + $FOO2SLX $FOO2HIPERC $FOO2QPDL; do 1.33 ./getweb $i 1.34 done 1.35 - mkdir -p $DESTDIR/filter 1.36 - make DESTDIR=$DESTDIR install 1.37 + mkdir -p $install/filter 1.38 + make DESTDIR=$install install 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 +genpkg_rules() { 1.45 case $PACKAGE in 1.46 - foo2xqx) 1.47 - DEPENDS="ghostscript foo2xqx-data" 1.48 - mkdir -p $fs/usr 1.49 - cp -a $install/bin $fs 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - ;; 1.52 - foo2xqx-data) 1.53 - CAT="non-free|firmware files" 1.54 - mkdir -p $fs/usr/lib/cups 1.55 - cp -a $install/usr/share $fs/usr 1.56 - cp -a $install/filter $fs/usr/lib/cups/ 1.57 - ;; 1.58 + foo2xqx) 1.59 + DEPENDS="ghostscript foo2xqx-data" 1.60 + mkdir -p $fs/usr 1.61 + cp -a $install/bin $fs 1.62 + cp -a $install/usr/bin $fs/usr 1.63 + ;; 1.64 + foo2xqx-data) 1.65 + CAT="non-free|firmware files" 1.66 + mkdir -p $fs/usr/lib/cups 1.67 + cp -a $install/usr/share $fs/usr 1.68 + cp -a $install/filter $fs/usr/lib/cups/ 1.69 + ;; 1.70 esac 1.71 }