blob: 8d48800e4b812618edeccace3adb0d685a16ebb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-0.10.ebuild,v 1.2 2004/06/29 14:37:18 vapier Exp $
DESCRIPTION="Library for using System.Drawing with Mono"
HOMEPAGE="http://www.go-mono.com/"
SRC_URI="http://www.go-mono.com/archive/rc/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~ppc"
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.97"
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
# 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
}
|