| 1 | # Copyright 1999-2008 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/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.4 2008/05/02 16:10:42 drac Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.5 2008/10/08 18:55:16 maekke Exp $ |
|
|
4 | |
|
|
5 | inherit eutils |
| 4 | |
6 | |
| 5 | DESCRIPTION="A slim GTK-based image browser" |
7 | DESCRIPTION="A slim GTK-based image browser" |
| 6 | HOMEPAGE="http://gimmage.berlios.de/" |
8 | HOMEPAGE="http://gimmage.berlios.de/" |
| 7 | SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
9 | SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
| 8 | |
10 | |
| … | |
… | |
| 17 | sys-apps/file" |
19 | sys-apps/file" |
| 18 | DEPEND="${RDEPEND} |
20 | DEPEND="${RDEPEND} |
| 19 | sys-devel/gettext |
21 | sys-devel/gettext |
| 20 | dev-util/pkgconfig" |
22 | dev-util/pkgconfig" |
| 21 | |
23 | |
|
|
24 | src_unpack() { |
|
|
25 | unpack ${A} |
|
|
26 | cd "${S}" |
|
|
27 | epatch "${FILESDIR}"/${P}-gcc43.patch |
|
|
28 | } |
|
|
29 | |
| 22 | src_compile() { |
30 | src_compile() { |
| 23 | econf $(use_enable debug) || die "econf failed" |
31 | econf $(use_enable debug) || die "econf failed" |
| 24 | emake || die "emake failed" |
32 | emake || die "emake failed" |
| 25 | } |
33 | } |
| 26 | |
34 | |