diff options
Diffstat (limited to 'dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild')
-rw-r--r-- | dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild b/dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild new file mode 100644 index 000000000000..f98620c3879b --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-0.8.ebuild,v 1.1 2004/06/08 16:17:21 latexer Exp $ + +DESCRIPTION="Library for using System.Drawing with Mono" + +HOMEPAGE="http://www.go-mono.com/" + +SRC_URI="http://www.go-mono.com/archive/beta2/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" + +IUSE="tiff gif jpeg png" + +DEPEND=">=x11-libs/cairo-0.1.23 + tiff? ( media-libs/tiff ) + gif? ( media-libs/libungif ) + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng )" + +RDEPEND=">=dev-dotnet/mono-0.95" + +src_compile() { + local myconf="" + use tiff || myconf="--without-libtiff ${myconf}" + use gif || myconf="--without-libungif ${myconf}" + use jpeg || myconf="--without-libjpeg ${myconf}" + use png || myconf="--without-libpng ${myconf}" + + econf ${myconf} || die + emake || die +} + +src_install() { + einstall || die + + dodoc AUTHORS ChangeLog NEWS README +} |