diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 19:45:23 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 19:45:23 +0200 |
commit | 10256649689d37ab7933a0f1c4874e41ffe154d4 (patch) | |
tree | 5148300ae6c41340008e35cb3e2ba71ec3439cac /libraries | |
parent | 75884679ac1dbd587f6106b91b9faa58d9b1737d (diff) |
libraries/openbabel: Updated for version 2.0.2
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/openbabel/openbabel.SlackBuild | 25 | ||||
-rw-r--r-- | libraries/openbabel/openbabel.info | 8 | ||||
-rw-r--r-- | libraries/openbabel/slack-desc | 21 |
3 files changed, 32 insertions, 22 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/* \ diff --git a/libraries/openbabel/openbabel.info b/libraries/openbabel/openbabel.info index 4dccbb84043e2..7d310b61a2b3f 100644 --- a/libraries/openbabel/openbabel.info +++ b/libraries/openbabel/openbabel.info @@ -1,8 +1,8 @@ PRGNAM="openbabel" -VERSION="2.0.1" +VERSION="2.0.2" HOMEPAGE="http://openbabel.sourceforge.net" -DOWNLOAD="http://dl.sourceforge.net/openbabel/openbabel-2.0.1.tar.gz" -MD5SUM="843a8d46c56a204cf20500b29b5a79cc" +DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.0.2.tar.gz" +MD5SUM="1cb8d4a99482d2d109887a099d1a719e" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="robw810" +APPROVED="David Somero" diff --git a/libraries/openbabel/slack-desc b/libraries/openbabel/slack-desc index 9e42fb7712fd2..85e2f50764d4e 100644 --- a/libraries/openbabel/slack-desc +++ b/libraries/openbabel/slack-desc @@ -1,8 +1,19 @@ -openbabel: Open Babel 3D Library +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler---------------------------------------------------| +openbabel: openbabel (Open Babel 3D Library) +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: Open Babel is a project designed to pick up where Babel left off, as -openbabel: a cross-platform program and library designed to interconvert between -openbabel: many file formats used in molecular modeling, computational chemistry, -openbabel: and many related areas. openbabel: Homepage: http://openbabel.sourceforge.net/wiki/Main_Page openbabel: +openbabel: +openbabel: |