Makefile 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 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 ${TOPDIR}/mk/host.mk
  18. include ${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_STYLE:= auto
  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. --disable-static \
  47. --disable-avahi \
  48. --disable-webif \
  49. --disable-tcp-wrappers \
  50. --disable-gssapi \
  51. --disable-pam \
  52. --disable-dbus \
  53. --without-java \
  54. --without-perl \
  55. --without-python \
  56. --without-php \
  57. --disable-gnutls \
  58. --disable-openssl \
  59. --disable-cdsassl \
  60. --disable-dbus \
  61. --disable-ssl \
  62. --with-components=core \
  63. --with-rcdir=$(STAGING_TARGET_DIR)/etc
  64. FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
  65. cups-install:
  66. ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib
  67. ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
  68. include ${TOPDIR}/mk/host-bottom.mk
  69. include ${TOPDIR}/mk/pkg-bottom.mk