|
@@ -4,39 +4,55 @@
|
|
include ${TOPDIR}/rules.mk
|
|
include ${TOPDIR}/rules.mk
|
|
|
|
|
|
PKG_NAME:= cups
|
|
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_DESCR:= Common Unix Printing System
|
|
PKG_SECTION:= net/misc
|
|
PKG_SECTION:= net/misc
|
|
PKG_DEPENDS:= zlib libpthread
|
|
PKG_DEPENDS:= zlib libpthread
|
|
-PKG_BUILDDEP:= zlib
|
|
|
|
|
|
+PKG_BUILDDEP:= cups-host zlib
|
|
PKG_URL:= http://www.cups.org/
|
|
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_NEED_CXX:= 1
|
|
PKG_OPTS:= dev
|
|
PKG_OPTS:= dev
|
|
|
|
|
|
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
|
|
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
|
|
|
|
|
|
|
|
+include ${TOPDIR}/mk/host.mk
|
|
include ${TOPDIR}/mk/package.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}))
|
|
$(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 \
|
|
CONFIGURE_ENV+= ac_cv_func_sigset=no \
|
|
OPTIM='-fPIC'
|
|
OPTIM='-fPIC'
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-cups-user=cups \
|
|
CONFIGURE_ARGS+= --with-cups-user=cups \
|
|
--with-cups-group=cups \
|
|
--with-cups-group=cups \
|
|
- --disable-ldap \
|
|
|
|
|
|
+ --disable-webif \
|
|
|
|
+ --disable-tcp-wrappers \
|
|
--disable-gssapi \
|
|
--disable-gssapi \
|
|
--disable-pam \
|
|
--disable-pam \
|
|
- --disable-pap \
|
|
|
|
--disable-dbus \
|
|
--disable-dbus \
|
|
--without-java \
|
|
--without-java \
|
|
--without-perl \
|
|
--without-perl \
|
|
--without-python \
|
|
--without-python \
|
|
--without-php \
|
|
--without-php \
|
|
- --disable-slp \
|
|
|
|
--disable-gnutls \
|
|
--disable-gnutls \
|
|
--disable-openssl \
|
|
--disable-openssl \
|
|
--disable-cdsassl \
|
|
--disable-cdsassl \
|
|
@@ -50,35 +66,22 @@ else
|
|
XAKE_FLAGS+= OPTIM='-fPIC'
|
|
XAKE_FLAGS+= OPTIM='-fPIC'
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+cups-hostpackage:
|
|
|
|
+
|
|
cups-install:
|
|
cups-install:
|
|
${INSTALL_DIR} ${IDIR_CUPS}/usr/bin
|
|
${INSTALL_DIR} ${IDIR_CUPS}/usr/bin
|
|
${INSTALL_DIR} ${IDIR_CUPS}/usr/sbin
|
|
${INSTALL_DIR} ${IDIR_CUPS}/usr/sbin
|
|
${INSTALL_DIR} ${IDIR_CUPS}/etc/cups
|
|
${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/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/
|
|
${CP} ${WRKINST}/etc/cups/* ${IDIR_CUPS}/etc/cups/
|
|
rm ${IDIR_CUPS}/etc/cups/cupsd.conf.default
|
|
rm ${IDIR_CUPS}/etc/cups/cupsd.conf.default
|
|
${CP} ${WRKINST}/usr/bin/* ${IDIR_CUPS}/usr/bin/
|
|
${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
|
|
rm -f ${IDIR_CUPS}/usr/bin/cups-config
|
|
${CP} ${WRKINST}/usr/lib/libcups*.so* ${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/* \
|
|
${CP} ${WRKINST}/usr/lib/cups/daemon/* \
|
|
${IDIR_CUPS}/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} ${WRKINST}/usr/sbin/* ${IDIR_CUPS}/usr/sbin/
|
|
${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/
|
|
${CP} ./files/etc/cups/* ${IDIR_CUPS}/etc/cups/
|
|
|
|
|
|
|
|
+include ${TOPDIR}/mk/host-bottom.mk
|
|
include ${TOPDIR}/mk/pkg-bottom.mk
|
|
include ${TOPDIR}/mk/pkg-bottom.mk
|