diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-10-03 13:40:25 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-10-03 13:40:25 +0000 |
commit | 66ec4f7d5b25128d8c490d706e4a3af282fcd5a9 (patch) | |
tree | f38f8a0bdcca4abfd5c5740224b7516a5f34c1c2 /dev-python/omniORBpy/omniORBpy-2.2.ebuild | |
parent | changelog:p (diff) | |
download | historical-66ec4f7d5b25128d8c490d706e4a3af282fcd5a9.tar.gz historical-66ec4f7d5b25128d8c490d706e4a3af282fcd5a9.tar.bz2 historical-66ec4f7d5b25128d8c490d706e4a3af282fcd5a9.zip |
changelog:p
Diffstat (limited to 'dev-python/omniORBpy/omniORBpy-2.2.ebuild')
-rw-r--r-- | dev-python/omniORBpy/omniORBpy-2.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/omniORBpy/omniORBpy-2.2.ebuild b/dev-python/omniORBpy/omniORBpy-2.2.ebuild new file mode 100644 index 000000000000..3e830e9d8831 --- /dev/null +++ b/dev-python/omniORBpy/omniORBpy-2.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/omniORBpy/omniORBpy-2.2.ebuild,v 1.1 2003/10/03 13:40:21 lanius 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="ssl" + +RDEPEND=">=net-misc/omniORB-4.0.2 + ssl? ( dev-libs/openssl )" +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 +} + |