Makefile 2.6 KB

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