wok-next view foo2xqx/receipt @ rev 21583

updated ddclient (3.8.3 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jun 23 16:30:52 2020 +0100 (2020-06-23)
parents d958fec46c9f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="foo2xqx"
4 VERSION="20170320"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux printer driver for XQX stream protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://foo2xqx.rkkda.com/"
10 REPOLOGY="foo2zjs"
12 TARBALL="foo2zjs.tar.gz"
13 WGET_URL="http://foo2zjs.rkkda.com/$TARBALL"
15 BUILD_DEPENDS="foomatic-db-engine bc groff coreutils-context-system"
16 SPLIT="$PACKAGE-data"
18 compile_rules() {
19 FOO2XQX="P1005 P1006 P1007 P1008 P1505"
20 FOO2ZJS="cpwl 2200 2300 2430 1000 1005 1018 1020 1025"
21 FOO2HP="1215 1600 2600n"
22 FOO2OAK="1500"
23 FOO2LAVA="1600w 1680 1690 2480 2490 2530 4690 110 6115 6121"
24 FOO2SLX="500"
25 FOO2HIPERC="301 c310 c810 3100 3200 3300 3400 3530 5100 5200 5500 5600 5800 160"
26 FOO2QPDL="300 310 315 325 360 365 2160 3160 3175 3185 6110 600 610"
27 make
28 for i in $FOO2XQX $FOO2ZJS $FOO2HP $FOO2OAK $FOO2LAVA \
29 $FOO2SLX $FOO2HIPERC $FOO2QPDL; do
30 ./getweb $i
31 done
32 mkdir -p $install/filter
33 make DESTDIR=$install install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 foo2xqx)
39 DEPENDS="ghostscript foo2xqx-data"
40 mkdir -p $fs/usr
41 cp -a $install/bin $fs
42 cp -a $install/usr/bin $fs/usr
43 ;;
44 foo2xqx-data)
45 CAT="non-free|firmware files"
46 mkdir -p $fs/usr/lib/cups
47 cp -a $install/usr/share $fs/usr
48 cp -a $install/filter $fs/usr/lib/cups/
49 ;;
50 esac
51 }