mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/openbabel: Updated for version 2.0.2
This commit is contained in:
parent
75884679ac
commit
1025664968
3 changed files with 32 additions and 22 deletions
|
@ -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/* \
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue