summaryrefslogtreecommitdiff
path: root/package/cups/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/cups/Makefile
Initial import
Diffstat (limited to 'package/cups/Makefile')
-rw-r--r--package/cups/Makefile77
1 files changed, 77 insertions, 0 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile
new file mode 100644
index 000000000..4d045c77b
--- /dev/null
+++ b/package/cups/Makefile
@@ -0,0 +1,77 @@
+# $Id$
+#-
+# 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.3.10
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 84fffe96b8537c81a463faccead80026
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
+MASTER_SITES:= http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/${PKG_VERSION}/ \
+ ftp://ftp.easysw.com/pub/cups/${PKG_VERSION}/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,CUPS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ENV+= ac_cv_func_sigset=no \
+ OPTIM=''
+CONFIGURE_ARGS+= --with-cups-user=root \
+ --with-cups-group=root \
+ --disable-ldap \
+ --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
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
+XAKE_FLAGS+= OPTIM=''
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_CUPS}/etc/init.d
+ ${INSTALL_DIR} ${IDIR_CUPS}/usr/share/doc/cups
+ ${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/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/
+ ${INSTALL_BIN} ./files/cupsd.init \
+ ${IDIR_CUPS}/etc/init.d/cupsd
+
+include ${TOPDIR}/mk/pkg-bottom.mk