diff options
Diffstat (limited to 'media-libs/libsvg/libsvg-0.1.4-r1.ebuild')
-rw-r--r-- | media-libs/libsvg/libsvg-0.1.4-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/libsvg/libsvg-0.1.4-r1.ebuild b/media-libs/libsvg/libsvg-0.1.4-r1.ebuild new file mode 100644 index 000000000000..f04097486906 --- /dev/null +++ b/media-libs/libsvg/libsvg-0.1.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvg/libsvg-0.1.4-r1.ebuild,v 1.1 2010/05/24 16:05:50 ssuominen Exp $ + +inherit autotools eutils libtool + +DESCRIPTION="A parser for SVG content in files or buffers" +HOMEPAGE="http://cairographics.org" +SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="dev-libs/libxml2 + media-libs/jpeg + media-libs/libpng" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + src/svg_image.c || die + epatch "${FILESDIR}"/${P}-asneeded.patch + elibtoolize + eautoconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README TODO +} |