aboutsummaryrefslogtreecommitdiff
path: root/development/omniORBpy
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-25 19:59:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:54 +0700
commit19f42c8b17e13903fd7a005e2a9ef622f885185c (patch)
tree796cfc45071b220d1b177c71f7e87d6d5eac96a3 /development/omniORBpy
parentacd9e1e55ba62de0de1159e1b65d03e45f078d81 (diff)
development/omniORBpy: Updated for version 4.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/omniORBpy')
-rw-r--r--development/omniORBpy/README4
-rw-r--r--development/omniORBpy/omniORBpy.SlackBuild27
-rw-r--r--development/omniORBpy/omniORBpy.info6
3 files changed, 28 insertions, 9 deletions
diff --git a/development/omniORBpy/README b/development/omniORBpy/README
index 358e9207896c3..5723f145ffc4d 100644
--- a/development/omniORBpy/README
+++ b/development/omniORBpy/README
@@ -5,5 +5,5 @@ find at
http://www.omg.org/technology/documents/formal/python_language_mapping.htm
-omniORBpy makes use of the C++ omniORB library. omniORBpy version 4.2.x
-can only be used with omniORB 4.2.x.
+omniORBpy makes use of the C++ omniORB library. omniORBpy version 4.3.x
+can only be used with omniORB 4.3.x.
diff --git a/development/omniORBpy/omniORBpy.SlackBuild b/development/omniORBpy/omniORBpy.SlackBuild
index 606c218c34830..3f84bc4e44c20 100644
--- a/development/omniORBpy/omniORBpy.SlackBuild
+++ b/development/omniORBpy/omniORBpy.SlackBuild
@@ -25,14 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=omniORBpy
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,6 +82,25 @@ find -L . \
mkdir build
cd build
+PYTHON=/usr/bin/python2 \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+make
+make install DESTDIR=$PKG
+
+# Avoid conflicts with the python-3.x version
+mv $PKG/usr/include/omniORBpy.h $PKG/usr/include/omniORBpy2.h
+
+make clean
+PYTHON=/usr/bin/python3 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
diff --git a/development/omniORBpy/omniORBpy.info b/development/omniORBpy/omniORBpy.info
index 64408e9ce120c..4e2ce672279b5 100644
--- a/development/omniORBpy/omniORBpy.info
+++ b/development/omniORBpy/omniORBpy.info
@@ -1,8 +1,8 @@
PRGNAM="omniORBpy"
-VERSION="4.2.0"
+VERSION="4.3.0"
HOMEPAGE="http://omniorb.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/omniORBpy-4.2.0.tar.bz2"
-MD5SUM="50ecde547c865aad2074d30224779412"
+DOWNLOAD="http://downloads.sourceforge.net/project/omniorb/omniORBpy/omniORBpy-4.3.0/omniORBpy-4.3.0.tar.bz2"
+MD5SUM="56ad14fe987ed4138cbf2c6282d34cb2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="omniORB"