Makefile 2.1 KB

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