diff options
Diffstat (limited to 'development/omniORBpy/omniORBpy.SlackBuild')
-rw-r--r-- | development/omniORBpy/omniORBpy.SlackBuild | 27 |
1 files changed, 23 insertions, 4 deletions
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 \ |