| 1 |
# Copyright 1999-2008 Gentoo Foundation
|
| 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.5 2008/10/08 18:55:16 maekke Exp $
|
| 4 |
|
| 5 |
inherit eutils autotools
|
| 6 |
|
| 7 |
DESCRIPTION="A slim GTK-based image browser"
|
| 8 |
HOMEPAGE="http://gimmage.berlios.de/"
|
| 9 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="GPL-2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 14 |
IUSE="debug"
|
| 15 |
|
| 16 |
RDEPEND="dev-cpp/cairomm
|
| 17 |
>=dev-cpp/gtkmm-2.6.2
|
| 18 |
net-misc/curl
|
| 19 |
sys-apps/file"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
sys-devel/gettext
|
| 22 |
dev-util/pkgconfig"
|
| 23 |
|
| 24 |
src_unpack() {
|
| 25 |
unpack ${A}
|
| 26 |
cd "${S}"
|
| 27 |
epatch "${FILESDIR}"/${P}-gcc43.patch
|
| 28 |
epatch "${FILESDIR}"/${P}-as-needed.patch
|
| 29 |
eautoreconf
|
| 30 |
}
|
| 31 |
|
| 32 |
src_compile() {
|
| 33 |
econf $(use_enable debug) || die "econf failed"
|
| 34 |
emake || die "emake failed"
|
| 35 |
}
|
| 36 |
|
| 37 |
src_install() {
|
| 38 |
einstall || die "einstall failed"
|
| 39 |
}
|