Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.1.4.ebuild,v 1.9 2010/03/31 18:29:41 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.1.4.ebuild,v 1.9 2010/03/31 18:29:41 armin76 Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
7 |
inherit toolchain-funcs |
8 |
|
5 |
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" |
9 |
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" |
6 |
HOMEPAGE="http://www.ivarch.com/programs/pv.shtml" |
10 |
HOMEPAGE="http://www.ivarch.com/programs/pv.shtml" |
7 |
SRC_URI="mirror://sourceforge/pipeviewer/${P}.tar.gz" |
11 |
SRC_URI="mirror://sourceforge/pipeviewer/${P}.tar.gz" |
Lines 9-27
Link Here
|
9 |
LICENSE="Artistic-2" |
13 |
LICENSE="Artistic-2" |
10 |
SLOT="0" |
14 |
SLOT="0" |
11 |
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" |
15 |
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" |
12 |
IUSE="debug nls" |
16 |
IUSE="nls" |
|
|
17 |
|
18 |
src_configure() { |
19 |
econf $(use_enable nls) |
20 |
} |
13 |
|
21 |
|
14 |
src_compile() { |
22 |
src_compile() { |
15 |
econf \ |
23 |
emake \ |
16 |
$(use_enable debug debugging) \ |
24 |
CC="$(tc-getCC)" \ |
17 |
$(use_enable nls) \ |
25 |
LD="$(tc-getLD)" \ |
18 |
|| die |
26 |
|| die |
19 |
|
|
|
20 |
emake || die |
21 |
} |
27 |
} |
22 |
|
28 |
|
23 |
src_install() { |
29 |
src_install() { |
24 |
emake DESTDIR="${D}" install || die |
30 |
emake DESTDIR="${D}" install || die |
25 |
|
31 |
|
26 |
dodoc README doc/NEWS doc/TODO |
32 |
dodoc README doc/NEWS doc/TODO || die |
27 |
} |
33 |
} |