summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-05 09:39:16 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-05 09:39:16 +0000
commite594485654128bb753e4cd922f0f667c891b9fa6 (patch)
tree81e1a174cdd11b42e5188747b6185c39abe69a9b /net-print
parentNew version. Package now needs the new perl package. (diff)
downloadgentoo-2-e594485654128bb753e4cd922f0f667c891b9fa6.tar.gz
gentoo-2-e594485654128bb753e4cd922f0f667c891b9fa6.tar.bz2
gentoo-2-e594485654128bb753e4cd922f0f667c891b9fa6.zip
*** empty log message ***
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/cups-1.1.4.ebuild61
-rw-r--r--net-print/cups/files/digest-cups-1.1.41
2 files changed, 62 insertions, 0 deletions
diff --git a/net-print/cups/cups-1.1.4.ebuild b/net-print/cups/cups-1.1.4.ebuild
new file mode 100644
index 000000000000..c055222703e5
--- /dev/null
+++ b/net-print/cups/cups-1.1.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.4.ebuild,v 1.1 2000/11/05 09:38:42 achim Exp $
+
+A=${P}-source.tar.bz2
+S=${WORKDIR}/${P}
+DESCRIPTION="The Common Unix Printing System"
+SRC_URI="ftp://ftp.easysw.com/pub/cups/${PV}/${A}"
+HOMEPAGE="http://www.cups.org"
+
+DEPEND=">=sys-devel/gcc-2.95.2
+ >=sys-libs/glibc-2.1.3
+ >=sys-libs/pam-0.72
+ >=media-libs/libpng-1.0.7
+ >=media-libs/jpeg-6b
+ >=media-libs/tiff-3.5.5"
+
+src_compile() {
+
+ cd ${S}
+ try ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --host=${CHOST} --enable-pam
+ cp Makedefs Makedefs.orig
+ sed -e "s:^INITDIR.*:INITDIR = /etc:" \
+ -e "s:/share/doc/cups:/doc/${P}:" \
+ -e "s:^SERVERROOT.*:SERVERROOT = /etc/cups:" \
+ -e "s:^LOGDIR.*:LOGDIR = /var/log/cups:" \
+ -e "s:^REQUESTS.*:REQUESTS = /var/spool/cups:" \
+ Makedefs.orig > Makedefs
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make exec_prefix=${D}/usr prefix=${D}/usr \
+ localstatedir=${D}/var/state sysconfdir=${D}/etc \
+ INITDIT=${D}/etc PAMDIR=${D}/etc/pam.d \
+ DOCDIR=${D}/usr/doc/${P} SERVERROOT=${D}/etc/cups \
+ LOGDIR=${D}/var/log/cups REQUESTS=${D}/var/spool/cups install
+ rm -rf ${D}/usr/etc
+ rm -rf ${D}/usr/man/cat*
+ rm -r ${D}/etc/pam.d
+ cd ${D}/usr/doc/${P}
+ gzip *
+ mkdir html
+ mv images html
+ mv *.html.gz html
+ mv *.css.gz html
+ cd ${S}
+ dodoc *.txt
+ docinto html
+ dodoc LICENSE.html
+
+ insinto /etc/rc.d/init.d
+ insopts -m 755
+ doins ${FILESDIR}/cups
+}
+
diff --git a/net-print/cups/files/digest-cups-1.1.4 b/net-print/cups/files/digest-cups-1.1.4
new file mode 100644
index 000000000000..c13cc2ad76ab
--- /dev/null
+++ b/net-print/cups/files/digest-cups-1.1.4
@@ -0,0 +1 @@
+MD5 c9f43f4f200e33458f84ca5e4a2bdebb cups-1.1.4-source.tar.bz2