diff options
author | Harald Achitz <harald.achitz@gmail.com> | 2018-02-25 22:30:55 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:06 +0700 |
commit | a266527206493be0faea3cfd22fef26666838e53 (patch) | |
tree | 7945dce4c5013185dff0d7fcaf58d471e7822562 /system/sbbdep/sbbdep.SlackBuild | |
parent | ab1cddd76b44cfee226792e681b8afe158a9fa5b (diff) | |
download | slackbuilds-a266527206493be0faea3cfd22fef26666838e53.tar.gz |
system/sbbdep: Updated for version 0.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sbbdep/sbbdep.SlackBuild')
-rw-r--r-- | system/sbbdep/sbbdep.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/system/sbbdep/sbbdep.SlackBuild b/system/sbbdep/sbbdep.SlackBuild index bce6b3392c..983220ab7d 100644 --- a/system/sbbdep/sbbdep.SlackBuild +++ b/system/sbbdep/sbbdep.SlackBuild @@ -23,14 +23,19 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sbbdep -VERSION=${VERSION:-0.2.6} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# option to use USE_INTERNAL_SQLITE3 +# 0 or OFF use system sqlite3 +# 1 or ON use intern sqlite3 +# everything else undefined, but possible like 1 or ON +USE_INTERNAL_SQLITE3=${USE_INTERNAL_SQLITE3:-ON} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +46,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -55,7 +60,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -78,6 +83,7 @@ cd build -DCMAKE_C_FLAGS_RELEASE:STRING="${SLKCFLAGS}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${SLKCFLAGS}" \ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DUSE_INTERNAL_SQLITE3=${USE_INTERNAL_SQLITE3} \ -DCMAKE_DOC_DIR=doc/${PRGNAM}-${VERSION} ../ make make install/strip DESTDIR=$PKG |