diff options
-rw-r--r-- | net-misc/omniORB/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/omniORB/files/digest-omniORB-304-r7 | 4 | ||||
-rw-r--r-- | net-misc/omniORB/omniORB-304-r7.ebuild | 118 |
3 files changed, 131 insertions, 2 deletions
diff --git a/net-misc/omniORB/ChangeLog b/net-misc/omniORB/ChangeLog index 13d7ad970410..400f65317d5a 100644 --- a/net-misc/omniORB/ChangeLog +++ b/net-misc/omniORB/ChangeLog @@ -1,8 +1,15 @@ # ChangeLog for net-misc/omniORB # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.2 2002/07/09 10:28:30 phoenix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.3 2002/07/12 04:38:52 lostlogic Exp $ -*omniORB-304-r6 (1 Feb 2002) +*omniORB-304-r7 (11 Jul 2002) + + 11 Jul 2002; Brandon Low <lostlogic@gentoo.org> omniORB-304-r7.ebuild : + + Misc ebuild updates ( from <seemant@gentoo.org>'s tree) plust adding + in the omniORB folks' bugfixes patch. + +*omniORB-304-r6 (09 Jul 2002) 09 Jul 2002; phoen][x <phoenix@gentoo.org> omniORB-304-r6.ebuild : Added KEYWORDS, LICENSE, SLOT. diff --git a/net-misc/omniORB/files/digest-omniORB-304-r7 b/net-misc/omniORB/files/digest-omniORB-304-r7 new file mode 100644 index 000000000000..c0e478ba23f7 --- /dev/null +++ b/net-misc/omniORB/files/digest-omniORB-304-r7 @@ -0,0 +1,4 @@ +MD5 60fe9ee00b217e20070727e7eb6fd399 omniORB_304.tar.gz 2420787 +MD5 290b557b0203e7e01b3f81d89c00b69e omniORBpy_1_4.tar.gz 794991 +MD5 b4b1ef0c05f178e0e93485f852467882 omniNotify11b1.tar.gz 328099 +MD5 0d266d3fd09d99e295e0b94503ca20a7 omniORB_304_bugfixes.patch 346177 diff --git a/net-misc/omniORB/omniORB-304-r7.ebuild b/net-misc/omniORB/omniORB-304-r7.ebuild new file mode 100644 index 000000000000..25b3315d360a --- /dev/null +++ b/net-misc/omniORB/omniORB-304-r7.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-304-r7.ebuild,v 1.1 2002/07/12 04:38:52 lostlogic Exp $ + +S=${WORKDIR}/${PN/ORB/} +DESCRIPTION="a robust, high-performance CORBA 2 ORB" +SRC_URI="ftp://ftp.uk.research.att.com/pub/omniORB/omniORB3/${PN}_${PV}.tar.gz + ftp://ftp.uk.research.att.com/pub/omniORB/omniORBpy/${PN}py_1_4.tar.gz + ftp://ftp.uk.research.att.com/pub/omniNotify/omniNotify1/omniNotify11b1.tar.gz + ftp://ftp.uk.research.att.com/pub/omniORB/omniORB3/${PN}_${PV}_bugfixes.patch" +HOMEPAGE="http://www.uk.research.att.com/omniORB/" + +DEPEND="virtual/glibc + dev-lang/python" +RDEPEND="${DEPEND}" + +PLT="i586_linux_2.0_glibc2.1" +KEYWORDS="x86" +SLOT="0" +LICENSE="LGPL | GPL-2" + +src_unpack() { + + unpack ${PN}_${PV}.tar.gz + cd ${S} + patch -p0< ${DISTDIR}/${PN}_${PV}_bugfixes.patch || die "Patching failed" + cd ${S}/src/lib + unpack ${PN}py_1_4.tar.gz + cd ${S}/src/services + unpack omniNotify11b1.tar.gz + + cd ${S}/config + cp config.mk config.mk.orig + sed -e "s:#platform = ${PLT}:platform = ${PLT}:" \ + config.mk.orig > config.mk + + + + cd ${S}/mk + cp unix.mk unix.mk.orig + sed -e "s:^MKDIRHIER.*:MKDIRHIER = mkdir -p:" \ + unix.mk.orig > unix.mk + + cd platforms + cp ${PLT}.mk ${PLT}.orig + sed -e "s:#PYTHON = /usr.*:PYTHON=/usr/bin/python:" \ + ${PLT}.orig > ${PLT}.mk + +} + + +src_compile() { + cd ${S}/src + make export || die + + cd ${S}/src/lib/omniORBpy + make export || die + + cd ${S}/src/services/omniNotify + make export || die +} + +src_install () { + + dodir /usr/share/omniORB/bin/scripts + cp -af bin/scripts/* ${D}/usr/share/omniORB/bin/scripts + dobin bin/${PLT}/* + + insinto /usr/idl + doins idl/*.idl + + insinto /usr/idl/COS + doins idl/COS/*.idl + + cp -af include ${D}/usr + + # change from python2.1 to python2.2 + dodir /usr/lib/python2.2/site-packages + + cp -af lib/${PLT}/_* ${D}/usr/lib/python2.2/site-packages + dolib lib/${PLT}/*.{a,so*} + rm ${D}/usr/lib/_*.* + + exeinto /usr/lib/python2.2/site-packages + doexe lib/${PLT}/omnicpp + cp -af lib/python/* ${D}/usr/lib/python2.2/ + doman man/man[15]/*.[15] + + exeinto /etc/init.d + newexe ${FILESDIR}/omniORB.rc6 omniORB + dodir /etc/omniorb + insinto /etc/omniorb + cd ${S} + doins src/services/omniNotify/channel.cfg + doins src/services/omniNotify/standard.cfg + + dodoc CHANGES* COPYING* CREDITS PORTING README* ReleaseNote_omniORB_304 \ + THIS_IS_omniORB_3_0_4 + + cd 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 +} +pkg_postinst() { + 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 ${FILESDIR}/mkomnistubs.py +} |