summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-02-14 21:38:08 +0000
committerMike Frysinger <vapier@gentoo.org>2003-02-14 21:38:08 +0000
commit11da498632ef7bd00691e13515f0f6364f7f9d19 (patch)
treeeed49e6951f279be16183c7ba798694fd2120603 /net-print
parenttouchups and inherit #15675 (diff)
downloadgentoo-2-11da498632ef7bd00691e13515f0f6364f7f9d19.tar.gz
gentoo-2-11da498632ef7bd00691e13515f0f6364f7f9d19.tar.bz2
gentoo-2-11da498632ef7bd00691e13515f0f6364f7f9d19.zip
touchups and inherit #15675
Diffstat (limited to 'net-print')
-rw-r--r--net-print/xpp/xpp-1.1-r1.ebuild16
-rw-r--r--net-print/xpp/xpp-1.1.ebuild14
2 files changed, 5 insertions, 25 deletions
diff --git a/net-print/xpp/xpp-1.1-r1.ebuild b/net-print/xpp/xpp-1.1-r1.ebuild
index c969d152ddee..e4aba02af1c1 100644
--- a/net-print/xpp/xpp-1.1-r1.ebuild
+++ b/net-print/xpp/xpp-1.1-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-1.1-r1.ebuild,v 1.2 2003/02/13 15:27:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-1.1-r1.ebuild,v 1.3 2003/02/14 21:34:57 vapier Exp $
-S=${WORKDIR}/${P}
+inherit eutils
DESCRIPTION="X Printing Panel"
SRC_URI="mirror://sourceforge/cups/${P}.tar.gz"
@@ -17,18 +17,13 @@ DEPEND="virtual/glibc
>=net-print/cups-1.1.14
=x11-libs/fltk-1.0.11*"
-inherit eutils
-
src_unpack() {
-
unpack ${A}
cd ${S}
epatch ${FILESDIR}/cups.diff || die
-
}
src_compile() {
-
export CXX=g++
export LDFLAGS="-L/usr/lib/fltk-1.0"
export CPPFLAGS="-I/usr/include/fltk-1.0"
@@ -36,14 +31,9 @@ src_compile() {
econf || die "configure failed"
make || die "make failed"
-
}
-src_install () {
-
+src_install() {
einstall || die "make install failed"
-
dodoc LICENSE ChangeLog README
-
}
-
diff --git a/net-print/xpp/xpp-1.1.ebuild b/net-print/xpp/xpp-1.1.ebuild
index bb6b35260c95..e458fe99c3e6 100644
--- a/net-print/xpp/xpp-1.1.ebuild
+++ b/net-print/xpp/xpp-1.1.ebuild
@@ -1,8 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-1.1.ebuild,v 1.8 2003/02/13 15:27:07 vapier Exp $
-
-S=${WORKDIR}/${P}
+# $Header: /var/cvsroot/gentoo-x86/net-print/xpp/xpp-1.1.ebuild,v 1.9 2003/02/14 21:34:57 vapier Exp $
DESCRIPTION="X Printing Panel"
SRC_URI="mirror://sourceforge/cups/${P}.tar.gz"
@@ -18,15 +16,12 @@ DEPEND="virtual/glibc
>=x11-libs/fltk-1.1.0_rc7"
src_unpack() {
-
unpack ${A}
cd ${S}
patch -p1 < ${FILESDIR}/cups.diff || die "patch failed"
-
}
src_compile() {
-
export CXX=g++
export LDFLAGS="-L/usr/lib/fltk-1.1"
export CPPFLAGS="-I/usr/include/fltk-1.1"
@@ -34,14 +29,9 @@ src_compile() {
econf || die "configure failed"
make || die "make failed"
-
}
-src_install () {
-
+src_install() {
einstall || die "make install failed"
-
dodoc LICENSE ChangeLog README
-
}
-