/[gentoo-x86]/sys-apps/pv/pv-1.3.9.ebuild
Gentoo

Contents of /sys-apps/pv/pv-1.3.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Dec 30 15:09:12 2012 UTC (21 months ago) by ago
Branch: MAIN
Changes since 1.8: +2 -2 lines
Stable for alpha, wrt bug #446732

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.3.9.ebuild,v 1.8 2012/12/29 14:39:41 ago Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
10 HOMEPAGE="http://www.ivarch.com/programs/pv.shtml"
11 SRC_URI="http://www.ivarch.com/programs/sources/${P}.tar.gz"
12
13 LICENSE="Artistic-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris"
16
17 IUSE="nls"
18 PV_LINGUAS="de fr pl pt"
19 for lingua in ${PV_LINGUAS}; do
20 IUSE+=" linguas_${lingua}"
21 done
22
23 DOCS=( README doc/NEWS doc/TODO )
24
25 src_configure() {
26 local lingua
27 for lingua in ${PV_LINGUAS}; do
28 if ! use linguas_${lingua}; then
29 sed -i configure -e "/ALL_LINGUAS=/s:${lingua}::g" || die
30 fi
31 done
32 econf $(use_enable nls)
33 }
34
35 src_compile() {
36 emake LD="$(tc-getLD)"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20