Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119929
Collapse All | Expand All

(-)libidn-0.6.1.ebuild (-4 / +10 lines)
Lines 2-8 Link Here
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/net-dns/libidn/libidn-0.6.1.ebuild,v 1.1 2006/01/22 12:42:31 dragonheart Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-0.6.1.ebuild,v 1.1 2006/01/22 12:42:31 dragonheart Exp $
4
4
5
inherit java-pkg
5
inherit java-pkg mono
6
6
7
DESCRIPTION="Internationalized Domain Names (IDN) implementation"
7
DESCRIPTION="Internationalized Domain Names (IDN) implementation"
8
HOMEPAGE="http://www.gnu.org/software/libidn/"
8
HOMEPAGE="http://www.gnu.org/software/libidn/"
Lines 11-24 Link Here
11
LICENSE="LGPL-2.1"
11
LICENSE="LGPL-2.1"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86"
14
IUSE="java doc nls emacs"
14
IUSE="java doc emacs mono nls"
15
15
16
DEPEND="java? ( >=virtual/jdk-1.4
16
DEPEND="java? ( >=virtual/jdk-1.4
17
		mono? ( >=dev-lang/mono-0.95 )
17
				dev-java/gjdoc )"
18
				dev-java/gjdoc )"
18
RDEPEND="java? ( >=virtual/jre-1.4 )"
19
RDEPEND="java? ( >=virtual/jre-1.4 )
20
		mono? ( >=dev-lang/mono-0.95 )"
19
21
20
src_compile() {
22
src_compile() {
21
	local jdkhome
23
	local jdkhome=""
24
	local myconf=" --disable-csharp"
22
25
23
	if use java; then
26
	if use java; then
24
		jdkhome=$(java-config --jdk-home)
27
		jdkhome=$(java-config --jdk-home)
Lines 27-35 Link Here
27
		fi
30
		fi
28
	fi
31
	fi
29
32
33
	use mono && myconf=" --enable-csharp=mono"
34
							
30
	econf \
35
	econf \
31
		$(use_enable nls) \
36
		$(use_enable nls) \
32
		$(use_enable java) \
37
		$(use_enable java) \
38
		${myconf} \
33
		|| die
39
		|| die
34
40
35
	emake || die
41
	emake || die

Return to bug 119929