summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/tprint')
-rw-r--r--app-misc/tprint/ChangeLog7
-rw-r--r--app-misc/tprint/tprint-1.1.0.ebuild21
2 files changed, 16 insertions, 12 deletions
diff --git a/app-misc/tprint/ChangeLog b/app-misc/tprint/ChangeLog
index c45ff48dd9f7..ed952b732b23 100644
--- a/app-misc/tprint/ChangeLog
+++ b/app-misc/tprint/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/tprint
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tprint/ChangeLog,v 1.5 2007/03/19 13:22:29 kloeri Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tprint/ChangeLog,v 1.6 2008/12/30 20:31:38 angelos Exp $
+
+ 30 Dec 2008; Christoph Mende <angelos@gentoo.org> tprint-1.1.0.ebuild:
+ QA: Respect CC (bug 243680)
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove pfeifer from metadata.xml due to retirement.
diff --git a/app-misc/tprint/tprint-1.1.0.ebuild b/app-misc/tprint/tprint-1.1.0.ebuild
index 29599cb96759..b197ea9eaf11 100644
--- a/app-misc/tprint/tprint-1.1.0.ebuild
+++ b/app-misc/tprint/tprint-1.1.0.ebuild
@@ -1,28 +1,29 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tprint/tprint-1.1.0.ebuild,v 1.3 2005/01/01 15:27:25 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tprint/tprint-1.1.0.ebuild,v 1.4 2008/12/30 20:31:38 angelos Exp $
+
+inherit toolchain-funcs
DESCRIPTION="Transparent Print Utility for terminals"
HOMEPAGE="http://sourceforge.net/projects/tprint/"
-SRC_URI="mirror://sourceforge/tprint/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i -e "s:-g -O2 -Wall:${CFLAGS}:g" \
- Makefile || die "Error parsing Makefile"
+ -e "s:cc:$(tc-getCC):" \
+ Makefile || die "sed failed"
}
src_compile() {
- emake || die "failed during compiling..."
+ emake || die "emake failed"
}
src_install() {
@@ -30,7 +31,7 @@ src_install() {
insinto /etc/tprint
doins tprint.conf
exeinto /usr/bin
- doexe tprint
+ doexe tprint || die "doexe failed"
dodoc INSTALL README
}