blob: 335758da5d1a1837909fd815940974b60c47faaf (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/mico-2.3.9.ebuild,v 1.4 2004/05/10 20:28:32 lv Exp $
IUSE="ssl tcltk"
DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
HOMEPAGE="http://www.mico.org/"
SRC_URI="http://www.mico.org/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="x86 ~alpha ~amd64"
DEPEND="virtual/glibc
sys-devel/flex
sys-devel/bison
ssl? ( dev-libs/openssl )
tcltk? ( dev-lang/tcl )"
S="${WORKDIR}/${PN}"
src_compile() {
local myopts="--enable-final
--disable-mini-stl
--enable-except
--enable-dynamic
--enable-repo
--enable-shared"
myopts="${myopts}
--enable-life
--enable-externalize"
use ssl && myopts="${myopts} --with-ssl=/usr" \
|| myopts="${myopts} --without-ssl"
use tcltk && myopts="${myopts} --with-tcl=/usr" \
|| myopts="${myopts} --without-tcl"
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
make || die
}
src_install() {
make INSTDIR=${D}/usr SHARED_INSTDIR=${D}/usr install || die
dodir /usr/share/
mv ${D}/usr/man ${D}/usr/share
dodir /usr/share/doc/
mv ${D}/usr/doc ${D}/usr/share/doc/${P}
dodoc CHANGES CONVERT FAQ INSTALL LICENSE* MANIFEST README* ROADMAP TODO VERSION
}
|