/[gentoo-x86]/media-gfx/xzgv/xzgv-0.9.ebuild
Gentoo

Contents of /media-gfx/xzgv/xzgv-0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Apr 13 17:15:04 2011 UTC (9 years, 3 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xzgv/xzgv-0.9.ebuild,v 1.5 2011/03/28 19:10:29 ssuominen Exp $
4
5 EAPI=1
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Fast and simple GTK+ image viewer"
9 HOMEPAGE="http://sourceforge.net/projects/xzgv"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc64 x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/gtk+:2"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 # Fix linking order to work with -Wl,--as-needed and respect custom cflags.
25 epatch "${FILESDIR}"/${P}-asneeded-and-cflags.patch
26 }
27
28 src_compile() {
29 emake CC="$(tc-getCC)" || die "emake failed."
30 }
31
32 src_install() {
33 emake PREFIX="${D}/usr" install || die "emake install failed."
34 dodoc AUTHORS ChangeLog NEWS README TODO
35 }

  ViewVC Help
Powered by ViewVC 1.1.20