Makefile 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
  11. MASTER_SITES:= http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/${PKG_VERSION}/ \
  12. ftp://ftp.easysw.com/pub/cups/${PKG_VERSION}/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ENV+= ac_cv_func_sigset=no \
  17. OPTIM=''
  18. CONFIGURE_ARGS+= --with-cups-user=root \
  19. --with-cups-group=root \
  20. --disable-ldap \
  21. --disable-gssapi \
  22. --disable-pam \
  23. --disable-pap \
  24. --disable-dbus \
  25. --without-java \
  26. --without-perl \
  27. --without-python \
  28. --without-php \
  29. --disable-slp \
  30. --disable-gnutls \
  31. --disable-openssl \
  32. --disable-cdsassl \
  33. --disable-dbus \
  34. --disable-ssl
  35. BUILD_STYLE= auto
  36. INSTALL_STYLE= auto
  37. FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
  38. XAKE_FLAGS+= OPTIM=''
  39. post-install:
  40. ${INSTALL_DIR} ${IDIR_CUPS}/etc/init.d
  41. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/doc/cups
  42. ${INSTALL_DIR} ${IDIR_CUPS}/usr/bin
  43. ${INSTALL_DIR} ${IDIR_CUPS}/usr/sbin
  44. ${INSTALL_DIR} ${IDIR_CUPS}/etc/cups
  45. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/cgi-bin
  46. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/daemon
  47. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/banners
  48. ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/templates
  49. ${CP} ${WRKINST}/etc/cups/* ${IDIR_CUPS}/etc/cups/
  50. rm ${IDIR_CUPS}/etc/cups/cupsd.conf.default
  51. ${CP} ${WRKINST}/usr/bin/* ${IDIR_CUPS}/usr/bin/
  52. ${CP} ${WRKINST}/usr/share/doc/cups/index.html \
  53. ${IDIR_CUPS}/usr/share/doc/cups/
  54. ${CP} ${WRKINST}/usr/share/doc/cups/*.css \
  55. ${IDIR_CUPS}/usr/share/doc/cups/
  56. ${CP} ${WRKINST}/usr/share/doc/cups/images \
  57. ${IDIR_CUPS}/usr/share/doc/cups/
  58. rm -f ${IDIR_CUPS}/usr/bin/cups-config
  59. ${CP} ${WRKINST}/usr/lib/libcups.so* ${IDIR_CUPS}/usr/lib/
  60. ${CP} ${WRKINST}/usr/lib/cups/cgi-bin/* ${IDIR_CUPS}/usr/lib/cups/cgi-bin/
  61. ${CP} ${WRKINST}/usr/lib/cups/daemon/* ${IDIR_CUPS}/usr/lib/cups/daemon/
  62. ${CP} ${WRKINST}/usr/share/cups/banners/* \
  63. ${IDIR_CUPS}/usr/share/cups/banners/
  64. ${CP} ${WRKINST}/usr/share/cups/templates/*.tmpl \
  65. ${IDIR_CUPS}/usr/share/cups/templates/
  66. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_CUPS}/usr/sbin/
  67. ${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/
  68. ${INSTALL_BIN} ./files/cupsd.init \
  69. ${IDIR_CUPS}/etc/init.d/cupsd
  70. include ${TOPDIR}/mk/pkg-bottom.mk