diff options
Diffstat (limited to 'net-misc/omniORB/omniORB-305.ebuild')
-rw-r--r-- | net-misc/omniORB/omniORB-305.ebuild | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/net-misc/omniORB/omniORB-305.ebuild b/net-misc/omniORB/omniORB-305.ebuild deleted file mode 100644 index 85c2d0da0077..000000000000 --- a/net-misc/omniORB/omniORB-305.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-305.ebuild,v 1.16 2004/07/15 03:15:34 agriffis Exp $ - -S=${WORKDIR}/omni -DESCRIPTION="a robust, high-performance CORBA 2 ORB" -SRC_URI="mirror://sourceforge/omniorb/${PN}_${PV}.tar.gz - mirror://sourceforge/omniorb/${PN}py_1_5.tar.gz" -HOMEPAGE="http://sourceforge.net/projects/omniorb/ - http://www.uk.research.att.com/omniORB/" - -LICENSE="LGPL-2 GPL-2" -SLOT="0" -KEYWORDS="x86 -sparc -ppc " -IUSE="" - -DEPEND="dev-lang/python" - -PLT="i586_linux_2.0_glibc2.1" - -src_unpack() { - - unpack ${PN}_${PV}.tar.gz - cd ${S} - - cd ${S}/src/lib - unpack ${PN}py_1_5.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 -} - -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 - #well, this looks like the situation where cp will work better than dolib: - #during the build symlinks are already getting created - #dolib copies them over as files and ldconfig complains - cp -d lib/${PLT}/*.{a,so*} ${D}/usr/lib/ - #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.305 omniORB - dodir /etc/omniorb - insinto /etc/omniorb - cd ${S} -# doins src/services/omniNotify/channel.cfg -# doins src/services/omniNotify/standard.cfg - - #mkomnistubs has to be run in pkg_postinst - #however we cannot use FILESDIR there, thus: - exeinto /usr/share/doc/${PF} - doexe ${FILESDIR}/mkomnistubs.py - - 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 - - dodoc COPYING CREDITS -} - -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 -} |