/[gentoo-x86]/media-gfx/gimmage/gimmage-0.2.3.ebuild
Gentoo

Diff of /media-gfx/gimmage/gimmage-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2010 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.6 2008/11/30 17:51:59 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.7 2010/08/06 17:48:47 ssuominen Exp $
4 4
5inherit eutils autotools 5EAPI=2
6inherit autotools eutils
6 7
7DESCRIPTION="A slim GTK-based image browser" 8DESCRIPTION="A slim GTK-based image browser"
8HOMEPAGE="http://gimmage.berlios.de/" 9HOMEPAGE="http://gimmage.berlios.de/"
9SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" 10SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
10 11
19 sys-apps/file" 20 sys-apps/file"
20DEPEND="${RDEPEND} 21DEPEND="${RDEPEND}
21 sys-devel/gettext 22 sys-devel/gettext
22 dev-util/pkgconfig" 23 dev-util/pkgconfig"
23 24
24src_unpack() { 25src_prepare() {
25 unpack ${A}
26 cd "${S}"
27 epatch "${FILESDIR}"/${P}-gcc43.patch 26 epatch "${FILESDIR}"/${P}-gcc43.patch \
28 epatch "${FILESDIR}"/${P}-as-needed.patch 27 "${FILESDIR}"/${P}-as-needed.patch \
28 "${FILESDIR}"/${P}-desktop-entry.patch
29 eautoreconf 29 eautoreconf
30} 30}
31 31
32src_compile() { 32src_configure() {
33 econf $(use_enable debug) || die "econf failed" 33 local myconf
34 emake || die "emake failed" 34 use debug && myconf="--enable-debug"
35
36 econf ${myconf}
35} 37}
36 38
37src_install() { 39src_install() {
38 einstall || die "einstall failed" 40 emake DESTDIR="${D}" install || die
41 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
39} 42}

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20