From 10256649689d37ab7933a0f1c4874e41ffe154d4 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:45:23 +0200 Subject: libraries/openbabel: Updated for version 2.0.2 --- libraries/openbabel/openbabel.SlackBuild | 25 ++++++++++++------------- libraries/openbabel/openbabel.info | 8 ++++---- libraries/openbabel/slack-desc | 21 ++++++++++++++++----- 3 files changed, 32 insertions(+), 22 deletions(-) (limited to 'libraries/openbabel') diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild index f07852725e..cbe7d7d7df 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 4dccbb8404..7d310b61a2 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 9e42fb7712..85e2f50764 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: -- cgit v1.2.3