Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 249625 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-libs/wxsvg/wxsvg-1.0.ebuild (-11 / +12 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2009 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-libs/wxsvg/wxsvg-1.0.ebuild,v 1.1 2009/01/18 01:57:48 dirtyepic Exp $
3
# $Header: $
4
5
EAPI="2"
4
6
5
WX_GTK_VER="2.8"
7
WX_GTK_VER="2.8"
6
8
7
inherit autotools wxwidgets
9
inherit autotools multilib wxwidgets
8
10
9
DESCRIPTION="C++ library to create, manipulate and render SVG files."
11
DESCRIPTION="C++ library to create, manipulate and render SVG files."
10
HOMEPAGE="http://wxsvg.sourceforge.net/"
12
HOMEPAGE="http://wxsvg.sourceforge.net/"
Lines 26-43 Link Here
26
DEPEND="${RDEPEND}
28
DEPEND="${RDEPEND}
27
	dev-util/pkgconfig"
29
	dev-util/pkgconfig"
28
30
29
src_unpack() {
31
src_prepare() {
30
	unpack ${A}
31
	cd "${S}"
32
33
#	epatch "${FILESDIR}"/${P}-new-ffmpeg-headers.patch
32
#	epatch "${FILESDIR}"/${P}-new-ffmpeg-headers.patch
34
33
	epatch "${FILESDIR}"/${P}-expat.patch
35
	AT_M4DIR="${S}" eautoreconf
34
	cp "${FILESDIR}"/libexpatla.m4 "${S}"
36
}
35
}
37
36
38
src_compile() {
37
src_configure() {
39
	econf --with-wx-config="${WXCONFIG}"  || die "econf failed"
38
	AT_M4DIR="${S}" eautoreconf
40
	emake || die "emake failed"
39
	econf --with-wx-config="${WXCONFIG}" \
40
		--with-libexpat-la="/usr/$(get_libdir)" \
41
		|| die "econf failed"
41
}
42
}
42
43
43
src_install() {
44
src_install() {

Return to bug 249625