summaryrefslogtreecommitdiff
path: root/package/cups/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-24 18:14:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-24 18:14:45 +0100
commit597ca4669b46029b13bcd79c37a7cdb3adf357cf (patch)
treeeeb49538f03edbfe1481d18c6629a1cd4eb640a4 /package/cups/Makefile
parent103810049b157dc809c82a0136e23fe4276b9750 (diff)
fix cups header dependency, need to rework cups package later, update to latest upstream
Diffstat (limited to 'package/cups/Makefile')
-rw-r--r--package/cups/Makefile51
1 files changed, 27 insertions, 24 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile
index adf8dcade..0d20cd61a 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -4,39 +4,55 @@
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:= 1
+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
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 \
@@ -50,35 +66,22 @@ else
XAKE_FLAGS+= OPTIM='-fPIC'
endif
+cups-hostpackage:
+
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
${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