summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/openbabel/openbabel.SlackBuild21
-rw-r--r--libraries/openbabel/openbabel.info10
-rw-r--r--libraries/openbabel/slack-desc10
3 files changed, 24 insertions, 17 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index 185321c0b9..1901eda10c 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openbabel
-# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openbabel
-VERSION=2.2.0
+VERSION=2.2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -66,18 +70,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog AUTHORS COPYING NEWS README THANKS doc/*.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ChangeLog AUTHORS COPYING NEWS README THANKS doc/*.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/openbabel/openbabel.info b/libraries/openbabel/openbabel.info
index 092bd99b3a..c4b83d3a11 100644
--- a/libraries/openbabel/openbabel.info
+++ b/libraries/openbabel/openbabel.info
@@ -1,8 +1,10 @@
PRGNAM="openbabel"
-VERSION="2.2.0"
+VERSION="2.2.1"
HOMEPAGE="http://openbabel.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.0.tar.gz"
-MD5SUM="643a18c7ba09254d36e93afd6277346f"
+DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.1.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="1c9cc42bb212aef3b6e50c00460b2fe6"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="dsomero"
diff --git a/libraries/openbabel/slack-desc b/libraries/openbabel/slack-desc
index 85e2f50764..73506a0432 100644
--- a/libraries/openbabel/slack-desc
+++ b/libraries/openbabel/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler---------------------------------------------------|
openbabel: openbabel (Open Babel 3D Library)
-openbabel:
+openbabel:
openbabel: Open Babel is a project designed to pick up where Babel left off,
openbabel: as a cross-platform program and library designed to interconvert
openbabel: between many file formats used in molecular modeling, computational
openbabel: chemistry, and many related areas.
-openbabel:
+openbabel:
openbabel: Homepage: http://openbabel.sourceforge.net/wiki/Main_Page
-openbabel:
-openbabel:
-openbabel:
+openbabel:
+openbabel:
+openbabel: