summaryrefslogtreecommitdiff
path: root/libraries/openbabel
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:24:14 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:14 +0200
commitaaadf410ebe9010b8d53bf596b62707e146b1188 (patch)
tree66f88d9b9a21d4a2991c26e68040ec20521694a1 /libraries/openbabel
parent9532849d4ca98e9228a5af70c7b68f141a732dd4 (diff)
downloadslackbuilds-aaadf410ebe9010b8d53bf596b62707e146b1188.tar.gz
libraries/openbabel: Updated for version 2.2.0
Diffstat (limited to 'libraries/openbabel')
-rw-r--r--libraries/openbabel/openbabel.SlackBuild11
-rw-r--r--libraries/openbabel/openbabel.info8
2 files changed, 12 insertions, 7 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index cbe7d7d7df..185321c0b9 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openbabel
-VERSION=2.0.2
+VERSION=2.2.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -56,13 +58,16 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog AUTHORS COPYING NEWS README THANKS doc/* \
+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
diff --git a/libraries/openbabel/openbabel.info b/libraries/openbabel/openbabel.info
index 7d310b61a2..092bd99b3a 100644
--- a/libraries/openbabel/openbabel.info
+++ b/libraries/openbabel/openbabel.info
@@ -1,8 +1,8 @@
PRGNAM="openbabel"
-VERSION="2.0.2"
+VERSION="2.2.0"
HOMEPAGE="http://openbabel.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.0.2.tar.gz"
-MD5SUM="1cb8d4a99482d2d109887a099d1a719e"
+DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.0.tar.gz"
+MD5SUM="643a18c7ba09254d36e93afd6277346f"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="David Somero"
+APPROVED="David Somero" \ No newline at end of file