wok-next annotate foo2xqx/receipt @ rev 20942
Updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 28 08:45:59 2018 +0300 (2018-08-28) |
parents | 6f2a2c38bd36 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@20309 | 1 # SliTaz package receipt v2. |
pascal@17318 | 2 |
pascal@17318 | 3 PACKAGE="foo2xqx" |
pascal@20309 | 4 VERSION="20170320" |
pascal@17318 | 5 CATEGORY="system-tools" |
pascal@20309 | 6 SHORT_DESC="a linux printer driver for XQX stream protocol" |
pascal@17318 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17318 | 8 LICENSE="GPL2" |
al@20882 | 9 WEB_SITE="http://foo2xqx.rkkda.com/" |
al@20882 | 10 REPOLOGY="foo2zjs" |
al@20882 | 11 |
pascal@17318 | 12 TARBALL="foo2zjs.tar.gz" |
pascal@17318 | 13 WGET_URL="http://foo2zjs.rkkda.com/$TARBALL" |
pascal@17318 | 14 |
pascal@20310 | 15 BUILD_DEPENDS="foomatic-db-engine bc groff coreutils-context-system" |
pascal@20309 | 16 SPLIT="foo2xqx foo2xqx-data" |
pascal@17318 | 17 |
pascal@17318 | 18 # Rules to configure and make the package. |
pascal@17318 | 19 # |
pascal@17318 | 20 compile_rules() |
pascal@17318 | 21 { |
pascal@17318 | 22 FOO2XQX="P1005 P1006 P1007 P1008 P1505" |
pascal@17318 | 23 FOO2ZJS="cpwl 2200 2300 2430 1000 1005 1018 1020 1025" |
pascal@17318 | 24 FOO2HP="1215 1600 2600n" |
pascal@17318 | 25 FOO2OAK="1500" |
pascal@17318 | 26 FOO2LAVA="1600w 1680 1690 2480 2490 2530 4690 110 6115 6121" |
pascal@17318 | 27 FOO2SLX="500" |
pascal@17318 | 28 FOO2HIPERC="301 c310 c810 3100 3200 3300 3400 3530 5100 5200 5500 5600 5800 160" |
pascal@17318 | 29 FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610" |
pascal@17318 | 30 make |
pascal@17318 | 31 for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \ |
pascal@17318 | 32 $FOO2SLX $FOO2HIPERC $FOO2QPDL ; do |
pascal@17318 | 33 ./getweb $i |
pascal@17318 | 34 done |
pascal@20310 | 35 mkdir -p $DESTDIR/filter |
pascal@17318 | 36 make DESTDIR=$DESTDIR install |
pascal@17318 | 37 } |
pascal@17318 | 38 |
pascal@17318 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17318 | 40 genpkg_rules() |
pascal@17318 | 41 { |
pascal@20309 | 42 case $PACKAGE in |
pascal@20309 | 43 foo2xqx) |
pascal@20309 | 44 DEPENDS="ghostscript foo2xqx-data" |
pascal@20309 | 45 mkdir -p $fs/usr |
pascal@20309 | 46 cp -a $install/bin $fs |
pascal@20309 | 47 cp -a $install/usr/bin $fs/usr |
pascal@20309 | 48 ;; |
pascal@20309 | 49 foo2xqx-data) |
pascal@20309 | 50 CAT="non-free|firmware files" |
pascal@20310 | 51 mkdir -p $fs/usr/lib/cups |
pascal@20309 | 52 cp -a $install/usr/share $fs/usr |
pascal@20310 | 53 cp -a $install/filter $fs/usr/lib/cups/ |
pascal@20309 | 54 ;; |
pascal@20309 | 55 esac |
pascal@17318 | 56 } |