summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-03 13:39:47 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-03 13:39:47 +0000
commitc15965af981b8c2b2e8869357de826409d838bd5 (patch)
tree8f056b5917d6a93de35d237935760b12d8d3d153 /net-misc/omniORB/omniORB-4.0.2.ebuild
parentchangelog:p (diff)
downloadhistorical-c15965af981b8c2b2e8869357de826409d838bd5.tar.gz
historical-c15965af981b8c2b2e8869357de826409d838bd5.tar.bz2
historical-c15965af981b8c2b2e8869357de826409d838bd5.zip
changelog:p
Diffstat (limited to 'net-misc/omniORB/omniORB-4.0.2.ebuild')
-rw-r--r--net-misc/omniORB/omniORB-4.0.2.ebuild72
1 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/omniORB/omniORB-4.0.2.ebuild b/net-misc/omniORB/omniORB-4.0.2.ebuild
new file mode 100644
index 000000000000..24d867750ddf
--- /dev/null
+++ b/net-misc/omniORB/omniORB-4.0.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.0.2.ebuild,v 1.1 2003/10/03 13:39:43 lanius Exp $
+
+DESCRIPTION="A robust, high-performance CORBA 2 ORB"
+SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
+HOMEPAGE="http://omniorb.sourceforge.net/"
+
+IUSE="ssl"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~x86 -sparc -ppc"
+
+RDEPEND="dev-lang/python
+ ssl? ( >=dev-libs/openssl-0.9.6b )"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ cd ${S}
+
+ mkdir ${S}/build
+ cd ${S}/build
+
+ MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg --with-omniNames-logdir=/var/log/omniORB"
+
+ use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
+
+ MY_PY=/usr/bin/python`python -c "import sys; print sys.version[:3]"`
+
+ PYTHON=${MY_PY} ../configure ${MY_CONF} || die "./configure failed"
+ emake
+}
+
+src_install () {
+
+ cd ${S}/build
+ emake DESTDIR=${D} install
+
+ cd ${S}
+ dodoc COPYING* CREDITS README* ReleaseNotes*
+
+ cd ${S}/doc
+ docinto print
+ dodoc *.ps
+ dodoc *.tex
+ dodoc *.pdf
+
+ dodoc -r .
+
+ dodir /etc/env.d/
+ echo "PATH=/usr/share/omniORB/bin/scripts" > ${D}/etc/env.d/90omniORB
+ echo "OMNIORB_CONFIG=/etc/omniorb/omniORB.cfg" >> ${D}/etc/env.d/90omniORB
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/omniORB-4.0.0 omniORB
+
+ cp ${S}/sample.cfg ${S}/omniORB.cfg
+ dodir /etc/omniorb
+ insinto /etc/omniorb
+ doins ${S}/omniORB.cfg
+
+}
+
+pkg_postinst() {
+ echo "Performing post-installation routines for ${P}."
+
+ if [ ! -f "${ROOT}etc/omniorb/omniORB.cfg" ] ; then
+ echo "ORBInitialHost `uname -n`" > ${ROOT}etc/omniorb/omniORB.cfg
+ echo "ORBInitialPort 2809" >> ${ROOT}etc/omniorb/omniORB.cfg
+ fi
+ #/usr/bin/python ${ROOT}usr/share/doc/${PF}/mkomnistubs.py
+}