summaryrefslogtreecommitdiff
path: root/community/omniorb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/omniorb/PKGBUILD')
-rw-r--r--community/omniorb/PKGBUILD44
1 files changed, 0 insertions, 44 deletions
diff --git a/community/omniorb/PKGBUILD b/community/omniorb/PKGBUILD
deleted file mode 100644
index 0102fb639..000000000
--- a/community/omniorb/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 60722 2011-12-17 09:55:07Z lcarlier $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Essien Ita Essien <me@essienitaessien.com>
-# Contributor: Brice Mealier <mealier_brice@yahoo.fr>
-
-pkgname=omniorb
-pkgver=4.1.6
-pkgrel=1
-pkgdesc="A CORBA object request broker for C++ and Python."
-arch=('i686' 'x86_64')
-url="http://omniorb.sourceforge.net/"
-license=('GPL2' 'LGPL2')
-depends=('gcc-libs' 'python2' 'openssl')
-makedepends=('pkgconfig')
-source=(http://downloads.sourceforge.net/omniorb/omniORB-$pkgver.tar.bz2)
-md5sums=('44990f8139c349b53ab43110de6c629b')
-
-build() {
- cd $srcdir/omniORB-$pkgver
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- # Fix to build with OpenSSL 1.0.0
- sed -i 's/SSL_METHOD/const SSL_METHOD/' \
- src/lib/omniORB/orbcore/ssl/sslContext.cc \
- include/omniORB4/sslContext.h
- ./configure --prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \
- --with-omniNames-logdir=/var/log/omniORB --with-openssl=/usr
- make
-}
-package(){
- cd $srcdir/omniORB-$pkgver
-
- make DESTDIR=$pkgdir install
-
- for i in man/man1/*.1; do
- install -D -m 644 $i $pkgdir/usr/share/$i
- done
- chmod 755 $pkgdir/{usr,usr/bin,usr/lib,usr/share,usr/include,usr/share/idl,usr/lib/pkgconfig,usr/lib/python2.7,usr/lib/python2.7/site-packages}
-}