Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= cups
  5. PKG_VERSION:= 1.7.1
  6. PKG_RELEASE:= 4
  7. PKG_HASH:= f52bec893d9daf92b6029be79c07e6c516b4c85ffae3e6e01885cc85e9081681
  8. PKG_DESCR:= common unix printing system
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= zlib libpthread libstdcxx
  11. PKG_BUILDDEP:= cups-host zlib
  12. PKG_URL:= http://www.cups.org/
  13. PKG_SITES:= http://www.cups.org/software/${PKG_VERSION}/
  14. PKG_OPTS:= dev
  15. PKG_NOPARALLEL:= 1
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
  17. include ${ADK_TOPDIR}/mk/host.mk
  18. include ${ADK_TOPDIR}/mk/package.mk
  19. $(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. ifneq ($(ADK_HOST_LINUX),y)
  22. HOST_LINUX_ONLY:= 1
  23. endif
  24. HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \
  25. --disable-webif \
  26. --disable-gssapi \
  27. --disable-avahi \
  28. --disable-pam \
  29. --disable-dbus \
  30. --without-java \
  31. --without-perl \
  32. --without-python \
  33. --without-php \
  34. --disable-gnutls \
  35. --disable-openssl \
  36. --disable-cdsassl \
  37. --disable-dbus \
  38. --disable-ssl \
  39. --with-components=core \
  40. --with-rcdir=$(STAGING_HOST_DIR)/etc
  41. CONFIGURE_ENV+= ac_cv_func_sigset=no \
  42. OPTIM='-fPIC -std=c89' LSB_BUILD=y
  43. CONFIGURE_ARGS+= --with-cups-user=cups \
  44. --with-cups-group=cups \
  45. --disable-static \
  46. --disable-avahi \
  47. --disable-webif \
  48. --disable-tcp-wrappers \
  49. --disable-gssapi \
  50. --disable-pam \
  51. --disable-dbus \
  52. --without-java \
  53. --without-perl \
  54. --without-python \
  55. --without-php \
  56. --disable-gnutls \
  57. --disable-openssl \
  58. --disable-cdsassl \
  59. --disable-dbus \
  60. --disable-ssl \
  61. --with-components=core \
  62. --with-rcdir=$(STAGING_TARGET_DIR)/etc
  63. FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
  64. cups-install:
  65. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib
  66. ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
  67. include ${ADK_TOPDIR}/mk/host-bottom.mk
  68. include ${ADK_TOPDIR}/mk/pkg-bottom.mk