/[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.2 - (show annotations) (download)
Sat Mar 21 08:30:33 2015 UTC (3 years, 4 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +5 -7 lines
use dobin instead of exeinto /usr/bin/ && doexe

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 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-r1.ebuild,v 1.1 2010/09/28 19:41:29 jer Exp $
4
5 EAPI=5
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)
27 }
28
29 src_install() {
30 insinto /etc/tprint
31 doins tprint.conf
32 dobin tprint
33
34 dodoc INSTALL README
35 }

  ViewVC Help
Powered by ViewVC 1.1.20