Lines 1-19
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
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/count/count-1.20.ebuild,v 1.2 2007/07/16 14:48:44 armin76 Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils |
6 |
|
6 |
|
7 |
DESCRIPTION="A fast and enhanced 'wc' replacement for UNIX" |
7 |
DESCRIPTION="A fast and enhanced 'wc' replacement for UNIX" |
8 |
HOMEPAGE="http://developer.berlios.de/projects/count/" |
8 |
HOMEPAGE="http://developer.berlios.de/projects/count/" |
9 |
SRC_URI="mirror://berlios/pub/${PN}/${P}.tar.bz2" |
9 |
SRC_URI="mirror://berlios/pub/${PN}/${P}.tar.bz2" |
10 |
LICENSE="GPL-2" |
10 |
|
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="x86 ppc" |
12 |
LICENSE="GPL-2" |
|
|
13 |
KEYWORDS="ppc x86" |
13 |
IUSE="" |
14 |
IUSE="" |
14 |
DEPEND="" |
15 |
|
|
|
16 |
src_unpack() { |
17 |
unpack ${A} |
18 |
cd "${S}" |
19 |
|
20 |
sed -i \ |
21 |
-e "s/CFLAGS=/CFLAGS+=/" RULES/* \ |
22 |
-e "s/CPPFLAGS=\t/CPPFLAGS=\$(CXXFLAGS)\t/" RULES/* \ |
23 |
-e "s/LDFLAGS=/LDFLAGS+=/" RULES/* \ |
24 |
|| die "Patching rules files failed" |
25 |
} |
26 |
|
15 |
src_compile() { |
27 |
src_compile() { |
16 |
make |
28 |
emake || die "emake failed" |
17 |
} |
29 |
} |
18 |
|
30 |
|
19 |
src_install() { |
31 |
src_install() { |