diff options
Diffstat (limited to 'package/cups/Makefile')
-rw-r--r-- | package/cups/Makefile | 68 |
1 files changed, 31 insertions, 37 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile index adf8dcade..e3fc672e9 100644 --- a/package/cups/Makefile +++ b/package/cups/Makefile @@ -4,44 +4,64 @@ include ${TOPDIR}/rules.mk PKG_NAME:= cups -PKG_VERSION:= 1.4.4 -PKG_RELEASE:= 2 -PKG_MD5SUM:= 8776403ad60fea9e85eab9c04d88560d +PKG_VERSION:= 1.7.1 +PKG_RELEASE:= 3 +PKG_MD5SUM:= 55277c40fd4b7183dc3671d39c5c42b7 PKG_DESCR:= Common Unix Printing System PKG_SECTION:= net/misc PKG_DEPENDS:= zlib libpthread -PKG_BUILDDEP:= zlib +PKG_BUILDDEP:= cups-host zlib PKG_URL:= http://www.cups.org/ -PKG_SITES:= ftp://ftp.easysw.com/pub/cups/${PKG_VERSION}/ +PKG_SITES:= http://www.cups.org/software/${PKG_VERSION}/ PKG_NEED_CXX:= 1 PKG_OPTS:= dev 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})) +HOST_STYLE:= auto +HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \ + --disable-webif \ + --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_HOST_DIR)/etc CONFIGURE_ENV+= ac_cv_func_sigset=no \ OPTIM='-fPIC' CONFIGURE_ARGS+= --with-cups-user=cups \ --with-cups-group=cups \ - --disable-ldap \ + --disable-webif \ + --disable-tcp-wrappers \ --disable-gssapi \ --disable-pam \ - --disable-pap \ --disable-dbus \ --without-java \ --without-perl \ --without-python \ --without-php \ - --disable-slp \ --disable-gnutls \ --disable-openssl \ --disable-cdsassl \ --disable-dbus \ - --disable-ssl + --disable-ssl \ + --with-components=core \ + --with-rcdir=$(STAGING_TARGET_DIR)/etc FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true" ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y) @@ -51,34 +71,8 @@ XAKE_FLAGS+= OPTIM='-fPIC' endif cups-install: - ${INSTALL_DIR} ${IDIR_CUPS}/usr/bin - ${INSTALL_DIR} ${IDIR_CUPS}/usr/sbin - ${INSTALL_DIR} ${IDIR_CUPS}/etc/cups - ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/cgi-bin - ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib/cups/daemon - ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/banners - ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/doc/cups - ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/cups/templates - ${CP} ${WRKINST}/etc/cups/* ${IDIR_CUPS}/etc/cups/ - rm ${IDIR_CUPS}/etc/cups/cupsd.conf.default - ${CP} ${WRKINST}/usr/bin/* ${IDIR_CUPS}/usr/bin/ - ${CP} ${WRKINST}/usr/share/doc/cups/index.html \ - ${IDIR_CUPS}/usr/share/doc/cups/ - ${CP} ${WRKINST}/usr/share/doc/cups/*.css \ - ${IDIR_CUPS}/usr/share/doc/cups/ - ${CP} ${WRKINST}/usr/share/doc/cups/images \ - ${IDIR_CUPS}/usr/share/doc/cups/ - rm -f ${IDIR_CUPS}/usr/bin/cups-config + ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/ - ${CP} ${WRKINST}/usr/lib/cups/cgi-bin/* \ - ${IDIR_CUPS}/usr/lib/cups/cgi-bin/ - ${CP} ${WRKINST}/usr/lib/cups/daemon/* \ - ${IDIR_CUPS}/usr/lib/cups/daemon/ - ${CP} ${WRKINST}/usr/share/cups/banners/* \ - ${IDIR_CUPS}/usr/share/cups/banners/ - ${CP} ${WRKINST}/usr/share/cups/templates/*.tmpl \ - ${IDIR_CUPS}/usr/share/cups/templates/ - ${CP} ${WRKINST}/usr/sbin/* ${IDIR_CUPS}/usr/sbin/ - ${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/ +include ${TOPDIR}/mk/host-bottom.mk include ${TOPDIR}/mk/pkg-bottom.mk |