wok-next view foo2xqx/receipt @ rev 20441

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