cups: configure: disable acl
[openwrt/svn-archive/packages.git] / net / cups / Makefile
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cups
11 PKG_VERSION:=1.5.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
15 PKG_SOURCE_URL:= http://www.cups.org/software/$(PKG_VERSION)
16 PKG_MD5SUM:=de3006e5cf1ee78a9c6145ce62c4e982
17
18 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/cups/Default
23 URL:=http://www.cups.org/
24 SUBMENU:=Printing
25 endef
26
27 define Package/cups
28 $(call Package/cups/Default)
29 SECTION:=net
30 CATEGORY:=Network
31 DEPENDS:=+libcups +libcupsmime +libcupscgi +libcupsppdc +libusb-1.0
32 TITLE:=Common UNIX Printing System (daemon)
33 endef
34
35 define Package/cups/description
36 Common UNIX Printing System (daemon)
37 endef
38
39 define Package/cups/conffiles
40 /etc/cups/classes.conf
41 /etc/cups/cupsd.conf
42 /etc/cups/printers.conf
43 endef
44
45 define Package/cups-bsd
46 $(call Package/cups/Default)
47 SECTION:=net
48 CATEGORY:=Network
49 DEPENDS:=+libcups
50 TITLE:=Common UNIX Printing System - BSD commands (old)
51 endef
52
53 define Package/cups-bsd/description
54 Common UNIX Printing System - BSD commands (old)
55 endef
56
57 define Package/cups-client
58 $(call Package/cups/Default)
59 SECTION:=net
60 CATEGORY:=Network
61 DEPENDS:=+libcups +libcupsimage +libcupsmime
62 TITLE:=Common UNIX Printing System - Client commands
63 endef
64
65 define Package/cups-client/conffiles
66 /etc/cups/client.conf
67 endef
68
69 define Package/cups-client/description
70 Common UNIX Printing System - Client commands
71 endef
72
73 define Package/cups-filters
74 $(call Package/cups/Default)
75 SECTION:=net
76 CATEGORY:=Network
77 DEPENDS:=+libcupsimage +libcupsdriver
78 TITLE:=Common UNIX Printing System - Filter
79 endef
80
81 define Package/cups-filters/description
82 Common UNIX Printing System - Filter
83 endef
84
85 define Package/cups-ppdc
86 $(call Package/cups/Default)
87 SECTION:=net
88 CATEGORY:=Network
89 DEPENDS:=+libcupsppdc
90 TITLE:=Common UNIX Printing System - PPDC utils
91 endef
92
93 define Package/cups-ppdc/description
94 Common UNIX Printing System - PPDC utils
95 endef
96
97 define Package/libcups
98 $(call Package/cups/Default)
99 SECTION:=libs
100 CATEGORY:=Libraries
101 DEPENDS:=+zlib +libpthread +libpng +libjpeg
102 TITLE:=Common UNIX Printing System - Core library
103 endef
104
105 define Package/libcups/description
106 Common UNIX Printing System - Core library
107 endef
108
109 define Package/libcupscgi
110 $(call Package/cups/Default)
111 SECTION:=libs
112 CATEGORY:=Libraries
113 DEPENDS:=+libcups
114 TITLE:=Common UNIX Printing System - CGI library
115 endef
116
117 define Package/libcupscgi/description
118 Common UNIX Printing System - CGI library
119 endef
120
121 define Package/libcupsdriver
122 $(call Package/cups/Default)
123 SECTION:=libs
124 CATEGORY:=Libraries
125 DEPENDS:=+libcups
126 TITLE:=Common UNIX Printing System - Driver library
127 endef
128
129 define Package/libcupsdriver/description
130 Common UNIX Printing System - Driver library
131 endef
132
133 define Package/libcupsimage
134 $(call Package/cups/Default)
135 SECTION:=libs
136 CATEGORY:=Libraries
137 DEPENDS:=+libcups +libpng +libjpeg
138 TITLE:=Common UNIX Printing System - Image library
139 endef
140
141 define Package/libcupsimage/description
142 Common UNIX Printing System - Image library
143 endef
144
145 define Package/libcupsmime
146 $(call Package/cups/Default)
147 SECTION:=libs
148 CATEGORY:=Libraries
149 DEPENDS:=+libcups
150 TITLE:=Common UNIX Printing System - MIME library
151 endef
152
153 define Package/libcupsmime/description
154 Common UNIX Printing System - MIME library
155 endef
156
157 define Package/libcupsppdc
158 $(call Package/cups/Default)
159 SECTION:=libs
160 CATEGORY:=Libraries
161 DEPENDS:=+libcups +libstdcpp
162 TITLE:=Common UNIX Printing System - PPDC library
163 endef
164
165 define Package/libcupsppdc/description
166 Common UNIX Printing System - PPDC library
167 endef
168
169 define Package/cups-locale-de
170 $(call Package/cups/Default)
171 SECTION:=net
172 CATEGORY:=Network
173 TITLE:=Common UNIX Printing System - Locale de
174 endef
175
176 define Package/cups-locale-de/description
177 Common UNIX Printing System - Locale de
178 endef
179
180 define Package/cups-locale-nl
181 $(call Package/cups/Default)
182 SECTION:=net
183 CATEGORY:=Network
184 TITLE:=Common UNIX Printing System - Locale nl
185 endef
186
187 define Package/cups-locale-nl/description
188 Common UNIX Printing System - Locale nl
189 endef
190
191 define Package/cups-locale-hu
192 $(call Package/cups/Default)
193 SECTION:=net
194 CATEGORY:=Network
195 TITLE:=Common UNIX Printing System - Locale hu
196 endef
197
198 define Package/cups-locale-hu/description
199 Common UNIX Printing System - Locale hu
200 endef
201
202 define Package/cups-locale-pt
203 $(call Package/cups/Default)
204 SECTION:=net
205 CATEGORY:=Network
206 TITLE:=Common UNIX Printing System - Locale pt
207 endef
208
209 define Package/cups-locale-pt/description
210 Common UNIX Printing System - Locale pt
211 endef
212
213 define Package/cups-locale-pt_BR
214 $(call Package/cups/Default)
215 SECTION:=net
216 CATEGORY:=Network
217 TITLE:=Common UNIX Printing System - Locale pt_BR
218 endef
219
220 define Package/cups-locale-pt_BR/description
221 Common UNIX Printing System - Locale pt_BR
222 endef
223
224 define Package/cups-locale-fi
225 $(call Package/cups/Default)
226 SECTION:=net
227 CATEGORY:=Network
228 TITLE:=Common UNIX Printing System - Locale fi
229 endef
230
231 define Package/cups-locale-fi/description
232 Common UNIX Printing System - Locale fi
233 endef
234
235 define Package/cups-locale-sv
236 $(call Package/cups/Default)
237 SECTION:=net
238 CATEGORY:=Network
239 TITLE:=Common UNIX Printing System - Locale sv
240 endef
241
242 define Package/cups-locale-sv/description
243 Common UNIX Printing System - Locale sv
244 endef
245
246 define Package/cups-locale-da
247 $(call Package/cups/Default)
248 SECTION:=net
249 CATEGORY:=Network
250 TITLE:=Common UNIX Printing System - Locale da
251 endef
252
253 define Package/cups-locale-da/description
254 Common UNIX Printing System - Locale da
255 endef
256
257 define Package/cups-locale-ko
258 $(call Package/cups/Default)
259 SECTION:=net
260 CATEGORY:=Network
261 TITLE:=Common UNIX Printing System - Locale ko
262 endef
263
264 define Package/cups-locale-ko/description
265 Common UNIX Printing System - Locale ko
266 endef
267
268 define Package/cups-locale-zh
269 $(call Package/cups/Default)
270 SECTION:=net
271 CATEGORY:=Network
272 TITLE:=Common UNIX Printing System - Locale zh
273 endef
274
275 define Package/cups-locale-zh/description
276 Common UNIX Printing System - Locale zh
277 endef
278
279 define Package/cups-locale-ja
280 $(call Package/cups/Default)
281 SECTION:=net
282 CATEGORY:=Network
283 TITLE:=Common UNIX Printing System - Locale ja
284 endef
285
286 define Package/cups-locale-ja/description
287 Common UNIX Printing System - Locale ja
288 endef
289
290 define Package/cups-locale-es
291 $(call Package/cups/Default)
292 SECTION:=net
293 CATEGORY:=Network
294 TITLE:=Common UNIX Printing System - Locale es
295 endef
296
297 define Package/cups-locale-es/description
298 Common UNIX Printing System - Locale es
299 endef
300
301 define Package/cups-locale-zh_TW
302 $(call Package/cups/Default)
303 SECTION:=net
304 CATEGORY:=Network
305 TITLE:=Common UNIX Printing System - Locale zh_TW
306 endef
307
308 define Package/cups-locale-zh_TW/description
309 Common UNIX Printing System - Locale zh_TW
310 endef
311
312 define Package/cups-locale-pl
313 $(call Package/cups/Default)
314 SECTION:=net
315 CATEGORY:=Network
316 TITLE:=Common UNIX Printing System - Locale pl
317 endef
318
319 define Package/cups-locale-pl/description
320 Common UNIX Printing System - Locale pl
321 endef
322
323 define Package/cups-locale-no
324 $(call Package/cups/Default)
325 SECTION:=net
326 CATEGORY:=Network
327 TITLE:=Common UNIX Printing System - Locale no
328 endef
329
330 define Package/cups-locale-no/description
331 Common UNIX Printing System - Locale no
332 endef
333
334 define Package/cups-locale-ru
335 $(call Package/cups/Default)
336 SECTION:=net
337 CATEGORY:=Network
338 TITLE:=Common UNIX Printing System - Locale ru
339 endef
340
341 define Package/cups-locale-ru/description
342 Common UNIX Printing System - Locale ru
343 endef
344
345 define Package/cups-locale-eu
346 $(call Package/cups/Default)
347 SECTION:=net
348 CATEGORY:=Network
349 TITLE:=Common UNIX Printing System - Locale eu
350 endef
351
352 define Package/cups-locale-eu/description
353 Common UNIX Printing System - Locale eu
354 endef
355
356 define Package/cups-locale-fr
357 $(call Package/cups/Default)
358 SECTION:=net
359 CATEGORY:=Network
360 TITLE:=Common UNIX Printing System - Locale fr
361 endef
362
363 define Package/cups-locale-fr/description
364 Common UNIX Printing System - Locale fr
365 endef
366
367 define Package/cups-locale-it
368 $(call Package/cups/Default)
369 SECTION:=net
370 CATEGORY:=Network
371 TITLE:=Common UNIX Printing System - Locale it
372 endef
373
374 define Package/cups-locale-it/description
375 Common UNIX Printing System - Locale it
376 endef
377
378 define Package/cups-locale-id
379 $(call Package/cups/Default)
380 SECTION:=net
381 CATEGORY:=Network
382 TITLE:=Common UNIX Printing System - Locale id
383 endef
384
385 define Package/cups-locale-id/description
386 Common UNIX Printing System - Locale id
387 endef
388
389 define Build/Configure
390 $(call Build/Configure/Default, \
391 --with-cups-user="nobody" \
392 --with-cups-group="nogroup" \
393 --with-components="embedded" \
394 --with-pdftops="none" \
395 --without-perl \
396 --without-python \
397 --without-php \
398 --enable-shared \
399 --enable-image \
400 --enable-libusb \
401 --disable-acl \
402 --disable-dbus \
403 --disable-dnssd \
404 --disable-launchd \
405 --disable-ldap \
406 --disable-pam \
407 --disable-slp \
408 --disable-gnutls \
409 --disable-openssl \
410 --disable-cdsassl \
411 --disable-ssl \
412 --disable-gssapi \
413 --disable-tiff, \
414 UNAME="Linux" \
415 LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
416 )
417 endef
418
419 define Build/Compile
420 $(MAKE) -C $(PKG_BUILD_DIR) \
421 $(TARGET_CONFIGURE_OPTS) \
422 DSTROOT="$(PKG_INSTALL_DIR)" \
423 STRIP="/bin/true" \
424 all install
425 endef
426
427 define Package/cups/install
428 rm -rf $(1)/etc/cups
429 $(INSTALL_DIR) $(1)/etc/cups
430 $(CP) $(PKG_INSTALL_DIR)/etc/cups/* $(1)/etc/cups/
431 rm -rf $(1)/etc/cups/certs
432 ln -sf /tmp $(1)/etc/cups/certs
433 rm -f $(1)/usr/bin/cups-config
434 $(INSTALL_DIR) $(1)/usr/lib/cups
435 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/backend $(1)/usr/lib/cups
436 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/cgi-bin $(1)/usr/lib/cups
437 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/daemon $(1)/usr/lib/cups
438 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/driver $(1)/usr/lib/cups
439 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/monitor $(1)/usr/lib/cups
440 $(INSTALL_DIR) $(1)/usr/lib/cups/filter
441 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/filter/{commandtops,pstops} \
442 $(PKG_INSTALL_DIR)/usr/lib/cups/filter/gziptoany \
443 $(1)/usr/lib/cups/filter
444 $(INSTALL_DIR) $(1)/usr/share/cups/templates
445 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/*.tmpl \
446 $(1)/usr/share/cups/templates/
447 $(INSTALL_DIR) $(1)/usr/share/cups/mime
448 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/mime/* $(1)/usr/share/cups/mime/
449 $(INSTALL_DIR) $(1)/usr/share/doc/cups
450 $(CP) $(PKG_INSTALL_DIR)/usr/share/doc/cups/index.html \
451 $(1)/usr/share/doc/cups/
452 $(CP) $(PKG_INSTALL_DIR)/usr/share/doc/cups/*.css \
453 $(1)/usr/share/doc/cups/
454 $(CP) $(PKG_INSTALL_DIR)/usr/share/doc/cups/images \
455 $(1)/usr/share/doc/cups/
456 $(INSTALL_DIR) $(1)/usr/sbin
457 # overwrite default config with our own
458 $(CP) ./files/etc/cups/* $(1)/etc/cups/
459 # install initscript with priority 60
460 $(INSTALL_DIR) $(1)/etc/init.d
461 $(INSTALL_BIN) ./files/cupsd.init $(1)/etc/init.d/cupsd
462 $(INSTALL_BIN) \
463 $(PKG_INSTALL_DIR)/usr/sbin/{cupsctl,cupsd} \
464 $(1)/usr/sbin/
465 endef
466
467 define Package/cups-bsd/install
468 $(INSTALL_DIR) $(1)/usr/bin
469 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{lprm,lpq,lpr} $(1)/usr/bin/
470 $(INSTALL_DIR) $(1)/usr/sbin
471 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/lpc $(1)/usr/sbin/
472 endef
473
474 define Package/cups-client/install
475 $(INSTALL_DIR) $(1)/usr/bin
476 $(INSTALL_BIN) \
477 $(PKG_INSTALL_DIR)/usr/bin/{lp,cancel,cupstestppd,cupstestdsc} \
478 $(PKG_INSTALL_DIR)/usr/bin/{ipptool,lpoptions,lpstat,lppasswd} \
479 $(1)/usr/bin/
480 $(INSTALL_DIR) $(1)/usr/sbin
481 $(INSTALL_BIN) \
482 $(PKG_INSTALL_DIR)/usr/sbin/{cupsaccept,cupsaddsmb,cupsfilter} \
483 $(PKG_INSTALL_DIR)/usr/sbin/{lpadmin,lpinfo,lpmove} \
484 $(1)/usr/sbin/
485 (cd $(1)/usr/sbin; ln -sf cupsaccept accept; ln -sf cupsaccept cupsenable; ln -sf cupsaccept cupsdisable; ln -sf cupsaccept reject; ln -sf cupsaccept cupsreject;)
486 endef
487
488 define Package/cups-filters/install
489 $(INSTALL_DIR) $(1)/usr/lib/cups/filter
490 $(CP) $(PKG_INSTALL_DIR)/usr/lib/cups/filter/{bannertops,commandtoescpx,commandtopclx,imagetops,imagetoraster,rastertoepson,rastertopwg,rastertohp,rastertoescpx,rastertopclx,rastertolabel,texttops} \
491 $(1)/usr/lib/cups/filter
492 (cd $(1)/usr/lib/cups/filter; ln -sf rastertolabel rastertodymo;)
493 endef
494
495 define Package/cups-ppdc/install
496 $(INSTALL_DIR) $(1)/usr/bin
497 $(INSTALL_BIN) \
498 $(PKG_INSTALL_DIR)/usr/bin/{ppdc,ppdhtml,ppdi,ppdmerge,ppdpo} \
499 $(1)/usr/bin/
500 endef
501
502 define Package/libcups/install
503 $(INSTALL_DIR) $(1)/usr/lib
504 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.so* $(1)/usr/lib/
505 endef
506
507 define Package/libcupscgi/install
508 $(INSTALL_DIR) $(1)/usr/lib
509 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupscgi.so* $(1)/usr/lib/
510 endef
511
512 define Package/libcupsdriver/install
513 $(INSTALL_DIR) $(1)/usr/lib
514 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupsdriver.so* $(1)/usr/lib/
515 endef
516
517 define Package/libcupsimage/install
518 $(INSTALL_DIR) $(1)/usr/lib
519 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupsimage.so* $(1)/usr/lib/
520 endef
521
522 define Package/libcupsmime/install
523 $(INSTALL_DIR) $(1)/usr/lib
524 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupsmime.so* $(1)/usr/lib/
525 endef
526
527 define Package/libcupsppdc/install
528 $(INSTALL_DIR) $(1)/usr/lib
529 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupsppdc.so* $(1)/usr/lib/
530 endef
531
532 define Package/cups-locale-de/install
533 $(INSTALL_DIR) $(1)/usr/share/locale
534 $(INSTALL_DIR) $(1)/usr/share/cups/templates
535 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/de $(1)/usr/share/locale/
536 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/de \
537 $(1)/usr/share/cups/templates/
538 endef
539
540 define Package/cups-locale-nl/install
541 $(INSTALL_DIR) $(1)/usr/share/locale
542 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/nl $(1)/usr/share/locale/
543 endef
544
545 define Package/cups-locale-hu/install
546 $(INSTALL_DIR) $(1)/usr/share/locale
547 $(INSTALL_DIR) $(1)/usr/share/cups/templates
548 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/hu $(1)/usr/share/locale/
549 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/hu \
550 $(1)/usr/share/cups/templates/
551 endef
552
553 define Package/cups-locale-pt/install
554 $(INSTALL_DIR) $(1)/usr/share/locale
555 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/pt $(1)/usr/share/locale/
556 endef
557
558 define Package/cups-locale-pt_BR/install
559 $(INSTALL_DIR) $(1)/usr/share/locale
560 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/pt_BR $(1)/usr/share/locale/
561 endef
562
563 define Package/cups-locale-fi/install
564 $(INSTALL_DIR) $(1)/usr/share/locale
565 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/fi $(1)/usr/share/locale/
566 endef
567
568 define Package/cups-locale-sv/install
569 $(INSTALL_DIR) $(1)/usr/share/locale
570 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/sv $(1)/usr/share/locale/
571 endef
572
573 define Package/cups-locale-da/install
574 $(INSTALL_DIR) $(1)/usr/share/locale
575 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/da $(1)/usr/share/locale/
576 endef
577
578 define Package/cups-locale-ko/install
579 $(INSTALL_DIR) $(1)/usr/share/locale
580 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/ko $(1)/usr/share/locale/
581 endef
582
583 define Package/cups-locale-zh/install
584 $(INSTALL_DIR) $(1)/usr/share/locale
585 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/zh $(1)/usr/share/locale/
586 endef
587
588 define Package/cups-locale-ja/install
589 $(INSTALL_DIR) $(1)/usr/share/locale
590 $(INSTALL_DIR) $(1)/usr/share/cups/templates
591 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/ja $(1)/usr/share/locale/
592 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/ja \
593 $(1)/usr/share/cups/templates/
594 endef
595
596 define Package/cups-locale-es/install
597 $(INSTALL_DIR) $(1)/usr/share/locale
598 $(INSTALL_DIR) $(1)/usr/share/cups/templates
599 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/es $(1)/usr/share/locale/
600 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/es \
601 $(1)/usr/share/cups/templates/
602 endef
603
604 define Package/cups-locale-zh_TW/install
605 $(INSTALL_DIR) $(1)/usr/share/locale
606 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/zh_TW $(1)/usr/share/locale/
607 endef
608
609 define Package/cups-locale-pl/install
610 $(INSTALL_DIR) $(1)/usr/share/locale
611 $(INSTALL_DIR) $(1)/usr/share/cups/templates
612 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/pl $(1)/usr/share/locale/
613 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/pl \
614 $(1)/usr/share/cups/templates/
615 endef
616
617 define Package/cups-locale-no/install
618 $(INSTALL_DIR) $(1)/usr/share/locale
619 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/no $(1)/usr/share/locale/
620 endef
621
622 define Package/cups-locale-ru/install
623 $(INSTALL_DIR) $(1)/usr/share/locale
624 $(INSTALL_DIR) $(1)/usr/share/cups/templates
625 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/ru $(1)/usr/share/locale/
626 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/ru \
627 $(1)/usr/share/cups/templates/
628 endef
629
630 define Package/cups-locale-eu/install
631 $(INSTALL_DIR) $(1)/usr/share/locale
632 $(INSTALL_DIR) $(1)/usr/share/cups/templates
633 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/eu $(1)/usr/share/locale/
634 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/eu \
635 $(1)/usr/share/cups/templates/
636 endef
637
638 define Package/cups-locale-fr/install
639 $(INSTALL_DIR) $(1)/usr/share/locale
640 $(INSTALL_DIR) $(1)/usr/share/cups/templates
641 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/fr $(1)/usr/share/locale/
642 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/fr \
643 $(1)/usr/share/cups/templates/
644 endef
645
646 define Package/cups-locale-it/install
647 $(INSTALL_DIR) $(1)/usr/share/locale
648 $(INSTALL_DIR) $(1)/usr/share/cups/templates
649 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/it $(1)/usr/share/locale/
650 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/it \
651 $(1)/usr/share/cups/templates/
652 endef
653
654 define Package/cups-locale-id/install
655 $(INSTALL_DIR) $(1)/usr/share/locale
656 $(INSTALL_DIR) $(1)/usr/share/cups/templates
657 $(CP) $(PKG_INSTALL_DIR)/usr/share/locale/id $(1)/usr/share/locale/
658 $(CP) $(PKG_INSTALL_DIR)/usr/share/cups/templates/id \
659 $(1)/usr/share/cups/templates/
660 endef
661
662 define Build/InstallDev
663 $(INSTALL_DIR) $(2)/bin
664 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cups-config $(2)/bin/
665 $(INSTALL_DIR) $(1)/usr/include
666 $(CP) $(PKG_INSTALL_DIR)/usr/include/cups $(1)/usr/include/
667 $(INSTALL_DIR) $(1)/usr/lib
668 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups*.so* $(1)/usr/lib/
669 endef
670
671 $(eval $(call BuildPackage,cups))
672 $(eval $(call BuildPackage,libcups))
673 $(eval $(call BuildPackage,libcupscgi))
674 $(eval $(call BuildPackage,libcupsdriver))
675 $(eval $(call BuildPackage,libcupsimage))
676 $(eval $(call BuildPackage,libcupsmime))
677 $(eval $(call BuildPackage,libcupsppdc))
678 $(eval $(call BuildPackage,cups-bsd))
679 $(eval $(call BuildPackage,cups-client))
680 $(eval $(call BuildPackage,cups-filters))
681 $(eval $(call BuildPackage,cups-ppdc))
682 $(eval $(call BuildPackage,cups-locale-de))
683 $(eval $(call BuildPackage,cups-locale-nl))
684 $(eval $(call BuildPackage,cups-locale-hu))
685 $(eval $(call BuildPackage,cups-locale-pt))
686 $(eval $(call BuildPackage,cups-locale-pt_BR))
687 $(eval $(call BuildPackage,cups-locale-fi))
688 $(eval $(call BuildPackage,cups-locale-sv))
689 $(eval $(call BuildPackage,cups-locale-da))
690 $(eval $(call BuildPackage,cups-locale-ko))
691 $(eval $(call BuildPackage,cups-locale-zh))
692 $(eval $(call BuildPackage,cups-locale-ja))
693 $(eval $(call BuildPackage,cups-locale-es))
694 $(eval $(call BuildPackage,cups-locale-zh_TW))
695 $(eval $(call BuildPackage,cups-locale-pl))
696 $(eval $(call BuildPackage,cups-locale-no))
697 $(eval $(call BuildPackage,cups-locale-ru))
698 $(eval $(call BuildPackage,cups-locale-eu))
699 $(eval $(call BuildPackage,cups-locale-fr))
700 $(eval $(call BuildPackage,cups-locale-it))
701 $(eval $(call BuildPackage,cups-locale-id))