Makefile 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= cups
  7. PKG_VERSION:= 1.3.10
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 84fffe96b8537c81a463faccead80026
  10. PKG_DESCR:= Common Unix Printing System
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= zlib libpthread
  13. PKG_URL:= http://www.cups.org
  14. PKG_SITES:= http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/${PKG_VERSION}/ \
  15. ftp://ftp.easysw.com/pub/cups/${PKG_VERSION}/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE= gnu
  20. CONFIGURE_ENV+= ac_cv_func_sigset=no \
  21. OPTIM=''
  22. CONFIGURE_ARGS+= --with-cups-user=root \
  23. --with-cups-group=root \
  24. --disable-ldap \
  25. --disable-gssapi \
  26. --disable-pam \
  27. --disable-pap \
  28. --disable-dbus \
  29. --without-java \
  30. --without-perl \
  31. --without-python \
  32. --without-php \
  33. --disable-slp \
  34. --disable-gnutls \
  35. --disable-openssl \
  36. --disable-cdsassl \
  37. --disable-dbus \
  38. --disable-ssl
  39. BUILD_STYLE= auto
  40. INSTALL_STYLE= auto
  41. FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
  42. XAKE_FLAGS+= OPTIM=''
  43. post-install:
  44. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/doc/cups
  45. ${INSTALL_DIR} ${IDIR_CUPS}/usr/bin
  46. ${INSTALL_DIR} ${IDIR_CUPS}/usr/sbin
  47. ${INSTALL_DIR} ${IDIR_CUPS}/etc/cups
  48. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/cgi-bin
  49. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/daemon
  50. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/banners
  51. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/templates
  52. ${CP} ${WRKINST}/etc/cups/* ${IDIR_CUPS}/etc/cups/
  53. rm ${IDIR_CUPS}/etc/cups/cupsd.conf.default
  54. ${CP} ${WRKINST}/usr/bin/* ${IDIR_CUPS}/usr/bin/
  55. ${CP} ${WRKINST}/usr/share/doc/cups/index.html \
  56. ${IDIR_CUPS}/usr/share/doc/cups/
  57. ${CP} ${WRKINST}/usr/share/doc/cups/*.css \
  58. ${IDIR_CUPS}/usr/share/doc/cups/
  59. ${CP} ${WRKINST}/usr/share/doc/cups/images \
  60. ${IDIR_CUPS}/usr/share/doc/cups/
  61. rm -f ${IDIR_CUPS}/usr/bin/cups-config
  62. ${CP} ${WRKINST}/usr/lib/libcups.so* ${IDIR_CUPS}/usr/lib/
  63. ${CP} ${WRKINST}/usr/lib/cups/cgi-bin/* ${IDIR_CUPS}/usr/lib/cups/cgi-bin/
  64. ${CP} ${WRKINST}/usr/lib/cups/daemon/* ${IDIR_CUPS}/usr/lib/cups/daemon/
  65. ${CP} ${WRKINST}/usr/share/cups/banners/* \
  66. ${IDIR_CUPS}/usr/share/cups/banners/
  67. ${CP} ${WRKINST}/usr/share/cups/templates/*.tmpl \
  68. ${IDIR_CUPS}/usr/share/cups/templates/
  69. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_CUPS}/usr/sbin/
  70. ${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/
  71. include ${TOPDIR}/mk/pkg-bottom.mk