/[gentoo-x86]/net-misc/omniORB/omniORB-4.0.3.ebuild
Gentoo

Contents of /net-misc/omniORB/omniORB-4.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Jul 24 18:33:56 2006 UTC (13 years, 4 months ago) by liquidx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
version bump (#140328)
(Portage version: 2.1.1_pre3-r4)
 (Signed Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.0.3.ebuild,v 1.9 2005/04/01 16:23:04 agriffis Exp $
4
5 DESCRIPTION="A robust, high-performance CORBA 2 ORB"
6 SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
7 HOMEPAGE="http://omniorb.sourceforge.net/"
8
9 IUSE="ssl"
10
11 LICENSE="LGPL-2 GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 alpha ~ia64 ~amd64 ~ppc"
14
15 DEPEND="dev-lang/python
16 ssl? ( >=dev-libs/openssl-0.9.6b )"
17
18 src_compile() {
19 cd ${S}
20
21 mkdir ${S}/build
22 cd ${S}/build
23
24 MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg --with-omniNames-logdir=/var/log/omniORB"
25
26 use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
27
28 MY_PY=/usr/bin/python`python -c "import sys; print sys.version[:3]"`
29
30 PYTHON=${MY_PY} ../configure ${MY_CONF} || die "./configure failed"
31 emake
32 }
33
34 src_install () {
35
36 cd ${S}/build
37 emake DESTDIR=${D} install
38
39 cd ${S}
40 dodoc COPYING* CREDITS README* ReleaseNotes*
41
42 cd ${S}/doc
43 docinto print
44 dodoc *.ps
45 dodoc *.tex
46 dodoc *.pdf
47
48 dodoc -r .
49
50 dodir /etc/env.d/
51 echo "PATH=/usr/share/omniORB/bin/scripts" > ${D}/etc/env.d/90omniORB
52 echo "OMNIORB_CONFIG=/etc/omniorb/omniORB.cfg" >> ${D}/etc/env.d/90omniORB
53 exeinto /etc/init.d
54 newexe ${FILESDIR}/omniORB-4.0.0 omniORB
55
56 cp ${S}/sample.cfg ${S}/omniORB.cfg
57 dodir /etc/omniorb
58 insinto /etc/omniorb
59 doins ${S}/omniORB.cfg
60
61 }
62
63 pkg_postinst() {
64 echo "Performing post-installation routines for ${P}."
65
66 if [ ! -f "${ROOT}etc/omniorb/omniORB.cfg" ] ; then
67 echo "ORBInitialHost `uname -n`" > ${ROOT}etc/omniorb/omniORB.cfg
68 echo "ORBInitialPort 2809" >> ${ROOT}etc/omniorb/omniORB.cfg
69 fi
70 #/usr/bin/python ${ROOT}usr/share/doc/${PF}/mkomnistubs.py
71 }

  ViewVC Help
Powered by ViewVC 1.1.20