1
0

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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= cups
  5. PKG_VERSION:= 1.7.1
  6. PKG_RELEASE:= 4
  7. PKG_MD5SUM:= 55277c40fd4b7183dc3671d39c5c42b7
  8. PKG_DESCR:= Common Unix Printing System
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= zlib libpthread
  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_NEED_CXX:= 1
  15. PKG_OPTS:= dev
  16. PKG_NOPARALLEL:= 1
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
  18. include ${TOPDIR}/mk/host.mk
  19. include ${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_STYLE:= auto
  26. HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \
  27. --disable-webif \
  28. --disable-gssapi \
  29. --disable-avahi \
  30. --disable-pam \
  31. --disable-dbus \
  32. --without-java \
  33. --without-perl \
  34. --without-python \
  35. --without-php \
  36. --disable-gnutls \
  37. --disable-openssl \
  38. --disable-cdsassl \
  39. --disable-dbus \
  40. --disable-ssl \
  41. --with-components=core \
  42. --with-rcdir=$(STAGING_HOST_DIR)/etc
  43. CONFIGURE_ENV+= ac_cv_func_sigset=no \
  44. OPTIM='-fPIC -std=c89' LSB_BUILD=y
  45. CONFIGURE_ARGS+= --with-cups-user=cups \
  46. --with-cups-group=cups \
  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 ${TOPDIR}/mk/host-bottom.mk
  70. include ${TOPDIR}/mk/pkg-bottom.mk