Line
Link Here
|
0 |
-- gromit-20041213-r1.ebuild |
0 |
++ gromit-20041213-r2.ebuild |
Lines 2-10
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/x11-misc/gromit/gromit-20041213-r1.ebuild,v 1.5 2012/01/09 22:05:19 ranger Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/gromit/gromit-20041213-r1.ebuild,v 1.5 2012/01/09 22:05:19 ranger Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI=4 |
6 |
|
6 |
|
7 |
inherit toolchain-funcs |
7 |
inherit eutils toolchain-funcs |
8 |
|
8 |
|
9 |
DESCRIPTION="GRaphics Over MIscellaneous Things, a presentation helper" |
9 |
DESCRIPTION="GRaphics Over MIscellaneous Things, a presentation helper" |
10 |
HOMEPAGE="http://www.home.unix-ag.org/simon/gromit" |
10 |
HOMEPAGE="http://www.home.unix-ag.org/simon/gromit" |
Lines 12-41
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ppc x86" |
15 |
KEYWORDS="~amd64 ~ppc ~x86" |
16 |
IUSE="" |
16 |
IUSE="" |
17 |
|
17 |
|
18 |
RDEPEND="x11-libs/gtk+:2" |
18 |
RDEPEND="dev-libs/glib:2 |
|
|
19 |
x11-libs/libX11 |
20 |
x11-libs/gtk+:2" |
19 |
DEPEND="${RDEPEND} |
21 |
DEPEND="${RDEPEND} |
20 |
dev-util/pkgconfig" |
22 |
dev-util/pkgconfig" |
21 |
|
23 |
|
22 |
src_prepare() { |
24 |
src_prepare() { |
23 |
sed -i Makefile \ |
25 |
epatch "${FILESDIR}"/${P}-build.patch |
24 |
-e 's:-Wall:-Wall $(CFLAGS) $(LDFLAGS):' \ |
|
|
25 |
-e 's:gcc:$(CC):g' \ |
26 |
|| die "sed Makefile failed" |
27 |
|
28 |
# Drop DEPRECATED flags, bug #387833 |
29 |
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED ::g' \ |
30 |
Makefile || die |
31 |
} |
26 |
} |
32 |
|
27 |
|
33 |
src_compile() { |
28 |
src_compile() { |
34 |
emake CC=$(tc-getCC) || die |
29 |
emake CC=$(tc-getCC) |
35 |
} |
30 |
} |
36 |
|
31 |
|
37 |
src_install() { |
32 |
src_install() { |
38 |
dobin ${PN} |
33 |
dobin ${PN} |
39 |
newdoc ${PN}rc ${PN}rc.example |
34 |
newdoc ${PN}rc ${PN}rc.example |
|
|
35 |
newdoc ${PN}rc_gsr ${PN}rc_gsr.example |
40 |
dodoc AUTHORS ChangeLog README |
36 |
dodoc AUTHORS ChangeLog README |
41 |
} |
37 |
} |