mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/openbabel: Updated for version 2.2.1
This commit is contained in:
parent
e9ac552938
commit
a6dbaecefc
3 changed files with 24 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for openbabel
|
||||
|
||||
# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
|
||||
# Copyright 2006-2009 Robby Workman Northport, Alabama, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=openbabel
|
||||
VERSION=2.2.0
|
||||
VERSION=2.2.1
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|
@ -66,18 +70,19 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
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
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="openbabel"
|
||||
VERSION="2.2.0"
|
||||
VERSION="2.2.1"
|
||||
HOMEPAGE="http://openbabel.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.0.tar.gz"
|
||||
MD5SUM="643a18c7ba09254d36e93afd6277346f"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.1.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="1c9cc42bb212aef3b6e50c00460b2fe6"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Robby Workman"
|
||||
EMAIL="rw@rlworkman.net"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
|-----handy-ruler---------------------------------------------------|
|
||||
openbabel: openbabel (Open Babel 3D Library)
|
||||
openbabel:
|
||||
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:
|
||||
openbabel: Homepage: http://openbabel.sourceforge.net/wiki/Main_Page
|
||||
openbabel:
|
||||
openbabel:
|
||||
openbabel:
|
||||
openbabel:
|
||||
openbabel:
|
||||
openbabel:
|
||||
|
|
Loading…
Reference in a new issue