diff options
-rw-r--r-- | dev-python/omniORBpy/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/omniORBpy/files/digest-omniORBpy-2.0 | 1 | ||||
-rw-r--r-- | dev-python/omniORBpy/omniORBpy-2.0.ebuild | 48 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/omniORBpy/ChangeLog b/dev-python/omniORBpy/ChangeLog new file mode 100644 index 000000000000..7057c9bb8571 --- /dev/null +++ b/dev-python/omniORBpy/ChangeLog @@ -0,0 +1,6 @@ +# ChangeLog for dev-python/omniORBpy +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/omniORBpy/ChangeLog,v 1.1 2002/12/14 10:02:09 lordvan Exp $ + +* 14 Dec 2002; Thomas Raschbacher <lordvan@gentoo.org> + initial ebuild
\ No newline at end of file diff --git a/dev-python/omniORBpy/files/digest-omniORBpy-2.0 b/dev-python/omniORBpy/files/digest-omniORBpy-2.0 new file mode 100644 index 000000000000..c22533053db8 --- /dev/null +++ b/dev-python/omniORBpy/files/digest-omniORBpy-2.0 @@ -0,0 +1 @@ +MD5 ebe2ac26322feee11a4ab3ddb055992f omniORBpy-2.0.tar.gz 620528 diff --git a/dev-python/omniORBpy/omniORBpy-2.0.ebuild b/dev-python/omniORBpy/omniORBpy-2.0.ebuild new file mode 100644 index 000000000000..a267126e336b --- /dev/null +++ b/dev-python/omniORBpy/omniORBpy-2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/omniORBpy/omniORBpy-2.0.ebuild,v 1.1 2002/12/14 10:02:12 lordvan Exp $ + +DESCRIPTION="This is omniORBpy 2, a robust high-performance CORBA ORB for Python." +HOMEPAGE="http://omniorb.sourceforge.net/" +SRC_URI="mirror://sourceforge/omniorb/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="" +RDEPEND=">=net-misc/omniORB-4.0.0" +DEPEND="${RDEPEND}" +S="${WORKDIR}/${P}" + +src_compile() { + MY_CONF="--host=${CHOST} --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --with-omniorb=/usr" + + use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr" + + MY_PY=/usr/bin/python`python -c "import sys; print sys.version[:3]"` + # install modules for python which is default python interpreter in + # the system + + PYTHON=${MY_PY} ./configure ${MY_CONF} || die "./configure failed" + emake || die +} + +src_install() { + # make files are crap! + mv mk/beforeauto.mk mk/beforeauto.mk_orig + sed s/'prefix[\t ]*:= \/usr'/'prefix := \${DESTDIR}\/usr'/ mk/beforeauto.mk_orig > mk/beforeauto.mk + # won't work without these really very ugly hack... maybe someone can do better.. + mv python/omniORB/dir.mk python/omniORB/dir.mk_orig + awk -v STR="ir\\\.idl" '{ if (/^[[:space:]]*$/) flag = 0; tmpstr = $0; if (gsub(STR, "", tmpstr)) flag = 1; if (flag) print "#" $0; else print $0; }' python/omniORB/dir.mk_orig > python/omniORB/dir.mk + mv python/dir.mk python/dir.mk_orig + awk -v STR="Naming\\\.idl" '{ if (/^[[:space:]]*$/) flag = 0; tmpstr = $0; if (gsub(STR, "", tmpstr)) flag = 1; if (flag) print "#" $0; else print $0; }' python/dir.mk_orig > python/dir.mk + make DESTDIR=${D} install || die + + dodoc COPYING.LIB README README.Python + dohtml doc/omniORBpy + dodoc doc/omniORBpy.p* # ps,pdf + dodoc doc/tex/* # .bib, .tex + + dodir /usr/share/doc/${P}/examples + cp -r examples/* ${D}/usr/share/doc/${P}/examples # doins doesn't do recursive +} + |