aboutsummaryrefslogtreecommitdiff
path: root/libraries/openbabel/openbabel.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 19:45:23 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 19:45:23 +0200
commit10256649689d37ab7933a0f1c4874e41ffe154d4 (patch)
tree5148300ae6c41340008e35cb3e2ba71ec3439cac /libraries/openbabel/openbabel.SlackBuild
parent75884679ac1dbd587f6106b91b9faa58d9b1737d (diff)
libraries/openbabel: Updated for version 2.0.2
Diffstat (limited to 'libraries/openbabel/openbabel.SlackBuild')
-rw-r--r--libraries/openbabel/openbabel.SlackBuild25
1 files changed, 12 insertions, 13 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index f07852725e1d1..cbe7d7d7df84b 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openbabel
-# Copyright 2006 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=openbabel
-VERSION=2.0.1
+VERSION=2.0.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -40,12 +39,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go-w+r .
@@ -55,12 +56,10 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --program-prefix="" \
- --program-suffix="" \
- || exit 1
+ --disable-static
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog AUTHORS COPYING NEWS README THANKS doc/* \