123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= cups
- PKG_VERSION:= 1.7.1
- PKG_RELEASE:= 4
- PKG_MD5SUM:= 55277c40fd4b7183dc3671d39c5c42b7
- PKG_DESCR:= Common Unix Printing System
- PKG_SECTION:= net/misc
- PKG_DEPENDS:= zlib libpthread
- PKG_BUILDDEP:= cups-host zlib
- PKG_URL:= http://www.cups.org/
- PKG_SITES:= http://www.cups.org/software/${PKG_VERSION}/
- PKG_NEED_CXX:= 1
- PKG_OPTS:= dev
- PKG_NOPARALLEL:= 1
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
- include ${TOPDIR}/mk/host.mk
- include ${TOPDIR}/mk/package.mk
- $(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE}))
- $(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- ifneq ($(ADK_HOST_LINUX),y)
- HOST_LINUX_ONLY:= 1
- endif
- HOST_STYLE:= auto
- HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \
- --disable-webif \
- --disable-gssapi \
- --disable-avahi \
- --disable-pam \
- --disable-dbus \
- --without-java \
- --without-perl \
- --without-python \
- --without-php \
- --disable-gnutls \
- --disable-openssl \
- --disable-cdsassl \
- --disable-dbus \
- --disable-ssl \
- --with-components=core \
- --with-rcdir=$(STAGING_HOST_DIR)/etc
- CONFIGURE_ENV+= ac_cv_func_sigset=no \
- OPTIM='-fPIC -std=c89' LSB_BUILD=y
- CONFIGURE_ARGS+= --with-cups-user=cups \
- --with-cups-group=cups \
- --disable-static \
- --disable-avahi \
- --disable-webif \
- --disable-tcp-wrappers \
- --disable-gssapi \
- --disable-pam \
- --disable-dbus \
- --without-java \
- --without-perl \
- --without-python \
- --without-php \
- --disable-gnutls \
- --disable-openssl \
- --disable-cdsassl \
- --disable-dbus \
- --disable-ssl \
- --with-components=core \
- --with-rcdir=$(STAGING_TARGET_DIR)/etc
- FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
- cups-install:
- ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
- include ${TOPDIR}/mk/host-bottom.mk
- include ${TOPDIR}/mk/pkg-bottom.mk
|