diff options
Diffstat (limited to 'academic/libghemical/libghemical.SlackBuild')
-rw-r--r-- | academic/libghemical/libghemical.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/academic/libghemical/libghemical.SlackBuild b/academic/libghemical/libghemical.SlackBuild index 6c20ffc2d4338..87dfba2388a0a 100644 --- a/academic/libghemical/libghemical.SlackBuild +++ b/academic/libghemical/libghemical.SlackBuild @@ -5,16 +5,14 @@ # Written by Daniil Bratashov (dn2010@gmail.com) PRGNAM=libghemical -VERSION=${VERSION:-2.99.1} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -64,8 +62,8 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ --disable-static \ - --enable-mopac7 \ - --enable-mpqc \ + --enable-mopac7=${WITH_MOPAC7:-no} \ + --enable-mpqc=${WITH_MPQC:-no} \ --build=$ARCH-slackware-linux make |