mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/openbabel: Updated for version 2.2.0
This commit is contained in:
parent
9532849d4c
commit
aaadf410eb
2 changed files with 12 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=openbabel
|
||||
VERSION=2.0.2
|
||||
VERSION=2.2.0
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
|
|||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -56,13 +58,16 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a ChangeLog AUTHORS COPYING NEWS README THANKS doc/* \
|
||||
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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="openbabel"
|
||||
VERSION="2.0.2"
|
||||
VERSION="2.2.0"
|
||||
HOMEPAGE="http://openbabel.sourceforge.net"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.0.2.tar.gz"
|
||||
MD5SUM="1cb8d4a99482d2d109887a099d1a719e"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.2.0.tar.gz"
|
||||
MD5SUM="643a18c7ba09254d36e93afd6277346f"
|
||||
MAINTAINER="Robby Workman"
|
||||
EMAIL="rw@rlworkman.net"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="David Somero"
|
Loading…
Reference in a new issue