summaryrefslogtreecommitdiff
path: root/academic/avogadro/avogadro.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-12-19 19:53:56 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-19 19:54:17 +0100
commitf0a2380b1c22216f31a63031daa48b821878b396 (patch)
treebb110e60da7625293b8c6c895de45a6796c0c2bc /academic/avogadro/avogadro.SlackBuild
parent2af5d511673d1c97960920491b94d1c37139a0e2 (diff)
downloadslackbuilds-f0a2380b1c22216f31a63031daa48b821878b396.tar.gz
academic/avogadro: Updated for version 1.1.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/avogadro/avogadro.SlackBuild')
-rw-r--r--academic/avogadro/avogadro.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild
index 009b66ccd8..38ab7c26fb 100644
--- a/academic/avogadro/avogadro.SlackBuild
+++ b/academic/avogadro/avogadro.SlackBuild
@@ -5,8 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=avogadro
-VERSION=1.0.3
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,11 +52,7 @@ find . \
-exec chmod 644 {} \;
# Fix gcc-4.7.x build issues.
-patch -p1 < $CWD/patches/gcc-4.7.patch
-# Fix for newer boost.
-patch -p1 < $CWD/patches/boost-1.48.patch
-# Fix mkspecs directory.
-patch -p1 < $CWD/patches/avogadro-1.0.3-mkspecs-dir.patch
+patch -p1 < $CWD/gcc-4.7.patch
# Fix manpage directory.
sed -i 's|share/man|man|' doc/CMakeLists.txt
@@ -72,6 +68,7 @@ cd build
-DCMAKE_SKIP_RPATH=YES \
-DENABLE_GLSL:BOOL=ON \
-DENABLE_UPDATE_CHECKER=OFF \
+ -DQT_MKSPECS_RELATIVE=lib${LIBDIRSUFFIX}/qt/mkspecs \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
@@ -85,7 +82,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL README avogadro/gl2ps/{COPYING*,*.txt} \
+ AUTHORS ChangeLog COPYING INSTALL README \
+ libavogadro/src/extensions/gl2ps/{COPYING*,*.txt,*.pdf} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild