summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/cups-1.1.4.ebuild29
-rw-r--r--net-print/xpp/files/digest-xpp-0.71
-rw-r--r--net-print/xpp/xpp-0.7.ebuild26
3 files changed, 45 insertions, 11 deletions
diff --git a/net-print/cups/cups-1.1.4.ebuild b/net-print/cups/cups-1.1.4.ebuild
index 0109782b2e4a..39ac14e519c3 100644
--- a/net-print/cups/cups-1.1.4.ebuild
+++ b/net-print/cups/cups-1.1.4.ebuild
@@ -1,12 +1,14 @@
# 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.2 2000/12/11 14:58:07 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.4.ebuild,v 1.3 2000/12/11 18:05:42 achim Exp $
-A="${P}-source.tar.bz2"
+GPV="4.0.4"
S=${WORKDIR}/${P}
+S0=${WORKDIR}/print-${GPV}/cups
DESCRIPTION="The Common Unix Printing System"
-SRC_URI="ftp://ftp.easysw.com/pub/cups/${PV}/${A}"
+SRC_URI="ftp://ftp.easysw.com/pub/cups/${PV}/${P}-source.tar.bz2
+ http://download.sourceforge.net/gimp-print/print-${GPV}.tar.gz"
HOMEPAGE="http://www.cups.org"
@@ -29,7 +31,10 @@ src_compile() {
sed -e "s:/usr/share/doc/cups:/usr/share/cups/doc:" \
Makedefs.orig > Makedefs
try make
-
+ cd ${S0}
+ try ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc \
+ --disable-gimptest
+ try make
}
src_install () {
@@ -40,13 +45,6 @@ src_install () {
INITDIR=${D}/etc/rc.d DOCDIR=${D}/usr/share/cups/doc install
rm -rf ${D}/etc/rc.d
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
@@ -58,5 +56,14 @@ src_install () {
insinto /etc/pam.d
insopts -m 644
doins ${FILESDIR}/cups
+
+ cd ${S0}
+ dodir /etc
+ dodir /usr/share /usr/lib/cups/backend
+ try make prefix=${D}/usr exec_prefix=${D}/usr sysconfdir=${D}/etc install
+ gunzip ${D}/usr/share/cups/model/*.gz
+ docinto gimp-print-cups
+ dodoc *.txt
}
+
diff --git a/net-print/xpp/files/digest-xpp-0.7 b/net-print/xpp/files/digest-xpp-0.7
new file mode 100644
index 000000000000..d263b18d7551
--- /dev/null
+++ b/net-print/xpp/files/digest-xpp-0.7
@@ -0,0 +1 @@
+MD5 4a959f60c0807901b5ac236d5b372ff5 xpp-0.7.tar.gz
diff --git a/net-print/xpp/xpp-0.7.ebuild b/net-print/xpp/xpp-0.7.ebuild
new file mode 100644
index 000000000000..38d043d8de5a
--- /dev/null
+++ b/net-print/xpp/xpp-0.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-0.7.ebuild,v 1.1 2000/12/11 18:05:42 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="X Printing Panel"
+SRC_URI="ftp://cups.sourceforge.net/pub/cups/xpp/${P}.tar.gz"
+HOMEPAGE="http://cups.sourceforge.net/xpp/"
+
+
+src_compile() {
+
+ cd ${S}
+ try ./configure --prefix=/usr/X11R6 --host=${CHOST}
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make DESTDIR=${D} install
+ dodoc LICENSE ChangeLog README
+}
+