diff options
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/cups-1.1.8.ebuild | 70 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.1.8 | 1 |
2 files changed, 71 insertions, 0 deletions
diff --git a/net-print/cups/cups-1.1.8.ebuild b/net-print/cups/cups-1.1.8.ebuild new file mode 100644 index 000000000000..095e4f522785 --- /dev/null +++ b/net-print/cups/cups-1.1.8.ebuild @@ -0,0 +1,70 @@ +# 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> +# Updated by Sebastian Werner <sebastian@werner-productions.de> +# /home/cvsroot/gentoo-x86/net-print/cups/cups-1.1.6.ebuild,v 1.1 2001/04/28 04:19:58 achim Exp + +S=${WORKDIR}/${PN}-1.1.8 +DESCRIPTION="The Common Unix Printing System" +SRC_URI="ftp://ftp.easysw.com/pub/cups/1.1.8/${PN}-1.1.8-source.tar.bz2" + +HOMEPAGE="http://www.cups.org" + +PROVIDE="virtual/lpr" + +DEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.72 ) + ssl? ( >=dev-libs/openssl-0.9.6 ) + >=media-libs/libpng-1.0.9 + >=media-libs/tiff-3.5.5 + !net-print/LPRng" + + +src_compile() { + + local myconf + if [ "`use pam`" ] + then + myconf="--enable-pam" + fi + if [ "`use ssl`" ] + then + myconf="${myconf} --enable-ssl" + fi + try ./configure --prefix=/ -exec-prefix=/usr \ + --mandir=/usr/share/man --host=${CHOST} ${myconf} + cp config.h config.h.orig + sed -e "s:/usr/share/doc/cups:/usr/share/cups/doc:" \ + config.h.orig > config.h + cp Makedefs Makedefs.orig + sed -e "s:/usr/share/doc/cups:/usr/share/cups/doc:" \ + Makedefs.orig > Makedefs + try make +} + +src_install () { + + cd ${S} + try make exec_prefix=${D}/usr prefix=${D}/ \ + datadir=${D}/usr/share localstatedir=${D}/var \ + includedir=${D}/usr/include sysconfdir=${D}/etc \ + MANDIR=${D}/usr/share/man PAMDIR=${D}/etc/pam.d \ + INITDIR=${D}/etc/rc.d DOCDIR=${D}/usr/share/cups/doc \ + install + rm -rf ${D}/etc/rc.d + rm -rf ${D}/usr/man/cat* + cd ${S} + dodoc *.txt + docinto html + dodoc LICENSE.html + + insinto /etc/rc.d/init.d + insopts -m 755 + doins ${FILESDIR}/cupsd + insinto /etc/pam.d + insopts -m 644 + doins ${FILESDIR}/cups + +} + + diff --git a/net-print/cups/files/digest-cups-1.1.8 b/net-print/cups/files/digest-cups-1.1.8 new file mode 100644 index 000000000000..ba1392f33341 --- /dev/null +++ b/net-print/cups/files/digest-cups-1.1.8 @@ -0,0 +1 @@ +MD5 cf25b260672671183f18f26b8f8d71f1 cups-1.1.8-source.tar.bz2 |