/[gentoo-x86]/media-gfx/xsvg/xsvg-0.2.1.ebuild
Gentoo

Contents of /media-gfx/xsvg/xsvg-0.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Wed Jun 25 18:00:48 2008 UTC (10 years ago) by maekke
Branch: MAIN
Changes since 1.11: +8 -1 lines
x11-libs/cairo must be built with USE="X", bug #225223
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc7 i686)

1 drac 1.9 # Copyright 1999-2008 Gentoo Foundation
2 compnerd 1.1 # Distributed under the terms of the GNU General Public License v2
3 maekke 1.12 # $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.11 2008/06/20 17:17:25 fmccor Exp $
4 compnerd 1.1
5 drac 1.4 inherit autotools eutils
6    
7 drac 1.9 DESCRIPTION="a command line viewer for SVG files"
8 drac 1.3 HOMEPAGE="http://cairographics.org"
9 compnerd 1.1 SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
10 drac 1.9
11 compnerd 1.1 LICENSE="BSD"
12     SLOT="0"
13 fmccor 1.11 KEYWORDS="amd64 hppa ppc ~sparc x86"
14 compnerd 1.1 IUSE=""
15 drac 1.9
16     RDEPEND="x11-libs/libsvg-cairo"
17 joshuabaergen 1.2 DEPEND="${RDEPEND}
18 drac 1.3 x11-libs/libXt
19     x11-libs/libXcursor"
20 compnerd 1.1
21 maekke 1.12 pkg_setup() {
22     if ! built_with_use x11-libs/cairo X ; then
23     eerror "x11-libs/cairo needs to be built with USE=\"X\""
24     die "remerge x11-libs/cairo with USE=\"X\""
25     fi
26     }
27    
28 drac 1.4 src_unpack() {
29     unpack ${A}
30     cd "${S}"
31     epatch "${FILESDIR}"/${P}-asneeded.patch
32     eautoreconf
33     }
34    
35 compnerd 1.1 src_install() {
36 drac 1.5 emake DESTDIR="${D}" install || die "emake install failed."
37 drac 1.6 dodoc AUTHORS ChangeLog NEWS README
38 compnerd 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20