1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= sane-backends
9 PKG_HASH
:= f832395efcb90bb5ea8acd367a820c393dda7e0dd578b16f48928b8f5bdd0524
10 PKG_DESCR
:= scanner access now easy
11 PKG_SECTION
:= sys
/misc
12 PKG_BUILDDEP
:= libusb libusb-compat
14 PKG_URL
:= http
://www.sane-project.org
/
15 PKG_SITES
:= https
://gitlab.com
/sane-project
/backends
/uploads
/110fc43336d0fb5e514f1fdc7360dd87
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_SUBPKGS
:= SANE_BACKEND SANE_BACKEND_NET SANE_BACKEND_ABATON SANE_BACKEND_AGFAFOCUS
20 PKG_SUBPKGS
+= SANE_BACKEND_APPLE SANE_BACKEND_ARTEC_EPLUS48U SANE_BACKEND_ARTEC SANE_BACKEND_AS6E
21 PKG_SUBPKGS
+= SANE_BACKEND_AVISION SANE_BACKEND_BH SANE_BACKEND_CANON630U SANE_BACKEND_CANON
22 PKG_SUBPKGS
+= SANE_BACKEND_COOLSCAN2 SANE_BACKEND_COOLSCAN SANE_BACKEND_DC25 SANE_BACKEND_DMC
23 PKG_SUBPKGS
+= SANE_BACKEND_EPSON SANE_BACKEND_FUJITSU SANE_BACKEND_GENESYS SANE_BACKEND_GT68XX
24 PKG_SUBPKGS
+= SANE_BACKEND_HP3500 SANE_BACKEND_HP4200 SANE_BACKEND_HP5400 SANE_BACKEND_HP
25 PKG_SUBPKGS
+= SANE_BACKEND_IBM SANE_BACKEND_LEO SANE_BACKEND_LEXMARK SANE_BACKEND_MA1509
26 PKG_SUBPKGS
+= SANE_BACKEND_MATSUSHITA SANE_BACKEND_MICROTEK2 SANE_BACKEND_MICROTEK
27 PKG_SUBPKGS
+= SANE_BACKEND_MUSTEK SANE_BACKEND_MUSTEK_USB SANE_BACKEND_MUSTEK_USB2
28 PKG_SUBPKGS
+= SANE_BACKEND_NEC SANE_BACKEND_NIASH SANE_BACKEND_PIE SANE_BACKEND_PIXMA
29 PKG_SUBPKGS
+= SANE_BACKEND_PLUSTEK_PP SANE_BACKEND_PLUSTEK SANE_BACKEND_RICOH
30 PKG_SUBPKGS
+= SANE_BACKEND_S9036 SANE_BACKEND_SCEPTRE SANE_BACKEND_SHARP SANE_BACKEND_SM3600
31 PKG_SUBPKGS
+= SANE_BACKEND_SM3840 SANE_BACKEND_SNAPSCAN SANE_BACKEND_SP15C SANE_BACKEND_ST400
32 PKG_SUBPKGS
+= SANE_BACKEND_STV680 SANE_BACKEND_TAMARACK SANE_BACKEND_TECO1 SANE_BACKEND_TECO2
33 PKG_SUBPKGS
+= SANE_BACKEND_TECO3 SANE_BACKEND_TEST SANE_BACKEND_U12 SANE_BACKEND_UMAX1220U
34 PKG_SUBPKGS
+= SANE_BACKEND_UMAX_PP SANE_BACKEND_UMAX
36 PKGSN_SANE_BACKEND_NET
:= sane-backend
37 PKGSN_SANE_BACKEND_ABATON
:= sane-backend
38 PKGSN_SANE_BACKEND_AGFAFOCUS
:= sane-backend
39 PKGSN_SANE_BACKEND_APPLE
:= sane-backend
40 PKGSN_SANE_BACKEND_ARTEC_EPLUS48U
:= sane-backend
41 PKGSN_SANE_BACKEND_ARTEC
:= sane-backend
42 PKGSN_SANE_BACKEND_AS6E
:= sane-backend
43 PKGSN_SANE_BACKEND_AVISION
:= sane-backend
44 PKGSN_SANE_BACKEND_BH
:= sane-backend
45 PKGSN_SANE_BACKEND_CANON630U
:= sane-backend
46 PKGSN_SANE_BACKEND_CANON
:= sane-backend
47 PKGSN_SANE_BACKEND_COOLSCAN
:= sane-backend
48 PKGSN_SANE_BACKEND_COOLSCAN2
:= sane-backend
49 PKGSN_SANE_BACKEND_DC25
:= sane-backend
50 PKGSN_SANE_BACKEND_DMC
:= sane-backend
51 PKGSN_SANE_BACKEND_EPSON
:= sane-backend
52 PKGSN_SANE_BACKEND_FUJITSU
:= sane-backend
53 PKGSN_SANE_BACKEND_GENESYS
:= sane-backend
54 PKGSN_SANE_BACKEND_GT68XX
:= sane-backend
55 PKGSN_SANE_BACKEND_HP3500
:= sane-backend
56 PKGSN_SANE_BACKEND_HP4200
:= sane-backend
57 PKGSN_SANE_BACKEND_HP5400
:= sane-backend
58 PKGSN_SANE_BACKEND_HP
:= sane-backend
59 PKGSN_SANE_BACKEND_IBM
:= sane-backend
60 PKGSN_SANE_BACKEND_LEO
:= sane-backend
61 PKGSN_SANE_BACKEND_LEXMARK
:= sane-backend
62 PKGSN_SANE_BACKEND_MA1509
:= sane-backend
63 PKGSN_SANE_BACKEND_MATSUSHITA
:= sane-backend
64 PKGSN_SANE_BACKEND_MICROTEK2
:= sane-backend
65 PKGSN_SANE_BACKEND_MICROTEK
:= sane-backend
66 PKGSN_SANE_BACKEND_MUSTEK
:= sane-backend
67 PKGSN_SANE_BACKEND_MUSTEK_USB
:= sane-backend
68 PKGSN_SANE_BACKEND_MUSTEK_USB2
:=sane-backend
69 PKGSN_SANE_BACKEND_NEC
:= sane-backend
70 PKGSN_SANE_BACKEND_NIASH
:= sane-backend
71 PKGSN_SANE_BACKEND_PIE
:= sane-backend
72 PKGSN_SANE_BACKEND_PIXMA
:= sane-backend
73 PKGSN_SANE_BACKEND_PLUSTEK_PP
:= sane-backend
74 PKGSN_SANE_BACKEND_PLUSTEK
:= sane-backend
75 PKGSN_SANE_BACKEND_RICOH
:= sane-backend
76 PKGSN_SANE_BACKEND_S9036
:= sane-backend
77 PKGSN_SANE_BACKEND_SCEPTRE
:= sane-backend
78 PKGSN_SANE_BACKEND_SHARP
:= sane-backend
79 PKGSN_SANE_BACKEND_SM3600
:= sane-backend
80 PKGSN_SANE_BACKEND_SM3840
:= sane-backend
81 PKGSN_SANE_BACKEND_SNAPSCAN
:= sane-backend
82 PKGSN_SANE_BACKEND_SP15C
:= sane-backend
83 PKGSN_SANE_BACKEND_ST400
:= sane-backend
84 PKGSN_SANE_BACKEND_STV680
:= sane-backend
85 PKGSN_SANE_BACKEND_TAMARACK
:= sane-backend
86 PKGSN_SANE_BACKEND_TECO1
:= sane-backend
87 PKGSN_SANE_BACKEND_TECO2
:= sane-backend
88 PKGSN_SANE_BACKEND_TECO3
:= sane-backend
89 PKGSN_SANE_BACKEND_TEST
:= sane-backend
90 PKGSN_SANE_BACKEND_U12
:= sane-backend
91 PKGSN_SANE_BACKEND_UMAX1220U
:= sane-backend
92 PKGSN_SANE_BACKEND_UMAX_PP
:= sane-backend
93 PKGSN_SANE_BACKEND_UMAX
:= sane-backend
95 include ${ADK_TOPDIR}/mk
/package.mk
97 define PKG_mod_template
99 INSTALL_MODS_
$${ADK_PACKAGE_
${1}}+= ${2}-install
103 ${INSTALL_DIR} $$(IDIR_
$(1))/etc
/sane.d
104 ${CP} $(WRKINST
)/etc
/sane.d
/$(2).conf
$$(IDIR_
$(1))/etc
/sane.d
106 ${INSTALL_DIR} $$(IDIR_
$(1))/usr
/lib
/sane
107 ${CP} $(WRKINST
)/usr
/lib
/sane
/libsane-
$(2).so
* $$(IDIR_
$(1))/usr
/lib
/sane
111 $(eval
$(call PKG_template
,SANE_BACKEND
,sane-backend
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
112 $(eval
$(call PKG_template
,SANE_BACKEND_NET
,sane-backend-net
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
113 $(eval
$(call PKG_template
,SANE_BACKEND_ABATON
,sane-backend-abaton
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
114 $(eval
$(call PKG_template
,SANE_BACKEND_AGFAFOCUS
,sane-backend-agfafocus
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
115 $(eval
$(call PKG_template
,SANE_BACKEND_APPLE
,sane-backend-apple
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
116 $(eval
$(call PKG_template
,SANE_BACKEND_ARTEC_EPLUS48U
,sane-backend-artec-eplus48u
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
117 $(eval
$(call PKG_template
,SANE_BACKEND_ARTEC
,sane-backend-artec
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
118 $(eval
$(call PKG_template
,SANE_BACKEND_AS6E
,sane-backend-as6e
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
119 $(eval
$(call PKG_template
,SANE_BACKEND_AVISION
,sane-backend-avision
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
120 $(eval
$(call PKG_template
,SANE_BACKEND_BH
,sane-backend-bh
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
121 $(eval
$(call PKG_template
,SANE_BACKEND_CANON630U
,sane-backend-canon630u
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
122 $(eval
$(call PKG_template
,SANE_BACKEND_CANON
,sane-backend-canon
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
123 $(eval
$(call PKG_template
,SANE_BACKEND_COOLSCAN2
,sane-backend-coolscan2
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
124 $(eval
$(call PKG_template
,SANE_BACKEND_COOLSCAN
,sane-backend-coolscan
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
125 $(eval
$(call PKG_template
,SANE_BACKEND_DC25
,sane-backend-dc25
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
126 $(eval
$(call PKG_template
,SANE_BACKEND_DMC
,sane-backend-dmc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
127 $(eval
$(call PKG_template
,SANE_BACKEND_EPSON
,sane-backend-epson
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
128 $(eval
$(call PKG_template
,SANE_BACKEND_FUJITSU
,sane-backend-fujitsu
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
129 $(eval
$(call PKG_template
,SANE_BACKEND_GENESYS
,sane-backend-genesys
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
130 $(eval
$(call PKG_template
,SANE_BACKEND_GT68XX
,sane-backend-gt68xx
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
131 $(eval
$(call PKG_template
,SANE_BACKEND_HP3500
,sane-backend-hp3500
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
132 $(eval
$(call PKG_template
,SANE_BACKEND_HP4200
,sane-backend-hp4200
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
133 $(eval
$(call PKG_template
,SANE_BACKEND_HP5400
,sane-backend-hp5400
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
134 $(eval
$(call PKG_template
,SANE_BACKEND_HP
,sane-backend-hp
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
135 $(eval
$(call PKG_template
,SANE_BACKEND_IBM
,sane-backend-ibm
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
136 $(eval
$(call PKG_template
,SANE_BACKEND_LEO
,sane-backend-leo
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
137 $(eval
$(call PKG_template
,SANE_BACKEND_LEXMARK
,sane-backend-lexmark
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
138 $(eval
$(call PKG_template
,SANE_BACKEND_MA1509
,sane-backend-ma1509
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
139 $(eval
$(call PKG_template
,SANE_BACKEND_MATSUSHITA
,sane-backend-matsushita
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
140 $(eval
$(call PKG_template
,SANE_BACKEND_MICROTEK2
,sane-backend-microtek2
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
141 $(eval
$(call PKG_template
,SANE_BACKEND_MICROTEK
,sane-backend-microtek
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
142 $(eval
$(call PKG_template
,SANE_BACKEND_MUSTEK
,sane-backend-mustek
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
143 $(eval
$(call PKG_template
,SANE_BACKEND_MUSTEK_USB
,sane-backend-mustek-usb
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
144 $(eval
$(call PKG_template
,SANE_BACKEND_NEC
,sane-backend-nec
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
145 $(eval
$(call PKG_template
,SANE_BACKEND_NIASH
,sane-backend-niash
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
146 $(eval
$(call PKG_template
,SANE_BACKEND_PIE
,sane-backend-pie
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
147 $(eval
$(call PKG_template
,SANE_BACKEND_PIXMA
,sane-backend-pixma
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
148 $(eval
$(call PKG_template
,SANE_BACKEND_PLUSTEK_PP
,sane-backend-plustek-pp
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
149 $(eval
$(call PKG_template
,SANE_BACKEND_PLUSTEK
,sane-backend-plustek
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
150 $(eval
$(call PKG_template
,SANE_BACKEND_RICOH
,sane-backend-ricoh
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
151 $(eval
$(call PKG_template
,SANE_BACKEND_S9036
,sane-backend-s9036
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
152 $(eval
$(call PKG_template
,SANE_BACKEND_SCEPTRE
,sane-backend-sceptre
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
153 $(eval
$(call PKG_template
,SANE_BACKEND_SHARP
,sane-backend-sharp
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
154 $(eval
$(call PKG_template
,SANE_BACKEND_SM3600
,sane-backend-sm3600
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
155 $(eval
$(call PKG_template
,SANE_BACKEND_SM3840
,sane-backend-sm3840
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
156 $(eval
$(call PKG_template
,SANE_BACKEND_SNAPSCAN
,sane-backend-snapscan
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
157 $(eval
$(call PKG_template
,SANE_BACKEND_SP15C
,sane-backend-sp15c
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
158 $(eval
$(call PKG_template
,SANE_BACKEND_ST400
,sane-backend-st400
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
159 $(eval
$(call PKG_template
,SANE_BACKEND_STV680
,sane-backend-stv680
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
160 $(eval
$(call PKG_template
,SANE_BACKEND_TAMARACK
,sane-backend-tamarack
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
161 $(eval
$(call PKG_template
,SANE_BACKEND_TECO1
,sane-backend-teco1
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
162 $(eval
$(call PKG_template
,SANE_BACKEND_TECO2
,sane-backend-teco2
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
163 $(eval
$(call PKG_template
,SANE_BACKEND_TECO3
,sane-backend-teco3
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
164 $(eval
$(call PKG_template
,SANE_BACKEND_TEST
,sane-backend-test
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
165 $(eval
$(call PKG_template
,SANE_BACKEND_U12
,sane-backend-u12
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
166 $(eval
$(call PKG_template
,SANE_BACKEND_UMAX1220U
,sane-backend-umax1220u
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
167 $(eval
$(call PKG_template
,SANE_BACKEND_UMAX_PP
,sane-backend-umax-pp
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
168 $(eval
$(call PKG_template
,SANE_BACKEND_UMAX
,sane-backend-umax
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
170 $(eval
$(call PKG_mod_template
,SANE_BACKEND_NET
,net
))
171 $(eval
$(call PKG_mod_template
,SANE_BACKEND_ABATON
,abaton
))
172 $(eval
$(call PKG_mod_template
,SANE_BACKEND_AGFAFOCUS
,agfafocus
))
173 $(eval
$(call PKG_mod_template
,SANE_BACKEND_APPLE
,apple
))
174 $(eval
$(call PKG_mod_template
,SANE_BACKEND_ARTEC_EPLUS48U
,artec_eplus48u
))
175 $(eval
$(call PKG_mod_template
,SANE_BACKEND_ARTEC
,artec
))
176 $(eval
$(call PKG_mod_template
,SANE_BACKEND_AS6E
,as6e
,n
))
177 $(eval
$(call PKG_mod_template
,SANE_BACKEND_AVISION
,avision
))
178 $(eval
$(call PKG_mod_template
,SANE_BACKEND_BH
,bh
))
179 $(eval
$(call PKG_mod_template
,SANE_BACKEND_CANON630U
,canon630u
))
180 $(eval
$(call PKG_mod_template
,SANE_BACKEND_CANON
,canon
))
181 $(eval
$(call PKG_mod_template
,SANE_BACKEND_COOLSCAN2
,coolscan2
))
182 $(eval
$(call PKG_mod_template
,SANE_BACKEND_COOLSCAN
,coolscan
))
183 $(eval
$(call PKG_mod_template
,SANE_BACKEND_DC25
,dc25
))
184 $(eval
$(call PKG_mod_template
,SANE_BACKEND_DMC
,dmc
))
185 $(eval
$(call PKG_mod_template
,SANE_BACKEND_EPSON
,epson
))
186 $(eval
$(call PKG_mod_template
,SANE_BACKEND_FUJITSU
,fujitsu
))
187 $(eval
$(call PKG_mod_template
,SANE_BACKEND_GENESYS
,genesys
))
188 $(eval
$(call PKG_mod_template
,SANE_BACKEND_GT68XX
,gt68xx
))
189 $(eval
$(call PKG_mod_template
,SANE_BACKEND_HP3500
,hp3500
,n
))
190 $(eval
$(call PKG_mod_template
,SANE_BACKEND_HP4200
,hp4200
))
191 $(eval
$(call PKG_mod_template
,SANE_BACKEND_HP5400
,hp5400
))
192 $(eval
$(call PKG_mod_template
,SANE_BACKEND_HP
,hp
))
193 $(eval
$(call PKG_mod_template
,SANE_BACKEND_IBM
,ibm
))
194 $(eval
$(call PKG_mod_template
,SANE_BACKEND_LEO
,leo
))
195 $(eval
$(call PKG_mod_template
,SANE_BACKEND_LEXMARK
,lexmark
))
196 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MA1509
,ma1509
))
197 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MATSUSHITA
,matsushita
))
198 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MICROTEK2
,microtek2
))
199 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MICROTEK
,microtek
))
200 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MUSTEK
,mustek
))
201 $(eval
$(call PKG_mod_template
,SANE_BACKEND_MUSTEK_USB
,mustek_usb
))
202 $(eval
$(call PKG_mod_template
,SANE_BACKEND_NEC
,nec
))
203 $(eval
$(call PKG_mod_template
,SANE_BACKEND_NIASH
,niash
,n
))
204 $(eval
$(call PKG_mod_template
,SANE_BACKEND_PIE
,pie
))
205 $(eval
$(call PKG_mod_template
,SANE_BACKEND_PIXMA
,pixma
))
206 $(eval
$(call PKG_mod_template
,SANE_BACKEND_PLUSTEK_PP
,plustek_pp
))
207 $(eval
$(call PKG_mod_template
,SANE_BACKEND_PLUSTEK
,plustek
))
208 $(eval
$(call PKG_mod_template
,SANE_BACKEND_RICOH
,ricoh
))
209 $(eval
$(call PKG_mod_template
,SANE_BACKEND_S9036
,s9036
))
210 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SCEPTRE
,sceptre
))
211 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SHARP
,sharp
))
212 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SM3600
,sm3600
,n
))
213 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SM3840
,sm3840
))
214 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SNAPSCAN
,snapscan
))
215 $(eval
$(call PKG_mod_template
,SANE_BACKEND_SP15C
,sp15c
))
216 $(eval
$(call PKG_mod_template
,SANE_BACKEND_ST400
,st400
))
217 $(eval
$(call PKG_mod_template
,SANE_BACKEND_STV680
,stv680
))
218 $(eval
$(call PKG_mod_template
,SANE_BACKEND_TAMARACK
,tamarack
))
219 $(eval
$(call PKG_mod_template
,SANE_BACKEND_TECO1
,teco1
))
220 $(eval
$(call PKG_mod_template
,SANE_BACKEND_TECO2
,teco2
))
221 $(eval
$(call PKG_mod_template
,SANE_BACKEND_TECO3
,teco3
))
222 $(eval
$(call PKG_mod_template
,SANE_BACKEND_TEST
,test))
223 $(eval
$(call PKG_mod_template
,SANE_BACKEND_U12
,u12
))
224 $(eval
$(call PKG_mod_template
,SANE_BACKEND_UMAX1220U
,umax1220u
))
225 $(eval
$(call PKG_mod_template
,SANE_BACKEND_UMAX_PP
,umax_pp
))
226 $(eval
$(call PKG_mod_template
,SANE_BACKEND_UMAX
,umax
))
228 TARGET_CFLAGS
+= -D_GNU_SOURCE
229 CONFIGURE_ENV
+= ac_cv_func_ioperm
=no \
231 ac_cv_func_mmap_fixed_mapped
=yes
232 CONFIGURE_ARGS
+= --disable-translations \
236 post-install
: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
237 ${INSTALL_DIR} ${IDIR_SANE_BACKEND}/etc
/sane.d
238 ${INSTALL_DIR} ${IDIR_SANE_BACKEND}/usr
/lib
239 ${INSTALL_DIR} ${IDIR_SANE_BACKEND}/usr
/sbin
240 ${CP} ${WRKINST}/etc
/sane.d
/dll.conf
${IDIR_SANE_BACKEND}/etc
/sane.d
241 ${CP} ${WRKINST}/etc
/sane.d
/saned.conf
${IDIR_SANE_BACKEND}/etc
/sane.d
242 ${CP} ${WRKINST}/usr
/sbin
/saned
${IDIR_SANE_BACKEND}/usr
/sbin
243 ${CP} ${WRKINST}/usr
/lib
/libsane
*.so
* ${IDIR_SANE_BACKEND}/usr
/lib
245 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk