diff options
author | 2005-05-12 17:09:38 +0000 | |
---|---|---|
committer | 2005-05-12 17:09:38 +0000 | |
commit | fe36aea385bfcda241d7b3b7a6c55d333a0aa32b (patch) | |
tree | 14b6a9b5a24144cce09d609c240914ccacf91390 /dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild | |
parent | stable on amd64 (diff) | |
download | gentoo-2-fe36aea385bfcda241d7b3b7a6c55d333a0aa32b.tar.gz gentoo-2-fe36aea385bfcda241d7b3b7a6c55d333a0aa32b.tar.bz2 gentoo-2-fe36aea385bfcda241d7b3b7a6c55d333a0aa32b.zip |
Bump.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild')
-rw-r--r-- | dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild b/dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild new file mode 100644 index 000000000000..37e7ec39ffb6 --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.1.7.ebuild,v 1.1 2005/05/12 17:09:38 latexer Exp $ + +inherit libtool eutils + +DESCRIPTION="Library for using System.Drawing with Mono" + +HOMEPAGE="http://www.go-mono.com/" + +SRC_URI="http://www.go-mono.com/sources/${PN}-${PV:0:3}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +IUSE="tiff gif jpeg png" + +DEPEND="sys-devel/libtool + sys-devel/automake + sys-devel/autoconf + virtual/x11 + >=x11-libs/cairo-0.3.0 + tiff? ( media-libs/tiff ) + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng )" + +RDEPEND=">=dev-lang/mono-${PV}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-1.1.4-included-cairo-fix.diff || die + epatch ${FILESDIR}/${PN}-1.1.4-giflib.diff || die + libtoolize --copy --force || die "libtoolize failed" + autoheader || die "autoheader failed" + aclocal || die "aclocal failed" + autoconf || die "autoconf failed" + automake || die "automake failed" +} + +src_compile() { + local myconf="--with-cairo=installed" + use tiff || myconf="--without-libtiff ${myconf}" + use gif || myconf="--without-libgif ${myconf}" + use jpeg || myconf="--without-libjpeg ${myconf}" + use png || myconf="--without-libpng ${myconf}" + + econf ${myconf} || die + # attribute((__stdcall__)) generate warnings on ppc + use ppc && sed -i -e 's:-Werror::g' src/Makefile + emake || die +} + +src_install() { + einstall || die + + dodoc AUTHORS ChangeLog NEWS README +} |