/[gentoo-x86]/app-misc/tprint/tprint-1.1.0-r1.ebuild
Gentoo

Contents of /app-misc/tprint/tprint-1.1.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 28 19:41:29 2010 UTC (4 years, 8 months ago) by jer
Branch: MAIN
Respect LDFLAGS (bug #337306), more CFLAGS. Do not hard-wire env var values in Makefile.

(Portage version: 2.2_rc86/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/tprint/tprint-1.1.0.ebuild,v 1.4 2008/12/30 20:31:38 angelos Exp $
4
5 EAPI="2"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Transparent Print Utility for terminals"
10 HOMEPAGE="http://sourceforge.net/projects/tprint/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~ppc ~x86"
16 IUSE=""
17
18 src_prepare() {
19 sed -i Makefile \
20 -e 's:cc:$(CC):g' \
21 -e 's:-g -O2:$(CFLAGS) $(LDFLAGS):g' \
22 || die "sed failed"
23 }
24
25 src_compile() {
26 emake CC=$(tc-getCC) || die "emake failed"
27 }
28
29 src_install() {
30 dodir /etc/tprint
31 insinto /etc/tprint
32 doins tprint.conf
33 exeinto /usr/bin
34 doexe tprint || die "doexe failed"
35
36 dodoc INSTALL README
37 }

  ViewVC Help
Powered by ViewVC 1.1.20