summaryrefslogtreecommitdiff
path: root/system/sbbdep
diff options
context:
space:
mode:
authorHarald Achitz <harald.achitz@gmail.com>2018-02-25 22:30:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:06 +0700
commita266527206493be0faea3cfd22fef26666838e53 (patch)
tree7945dce4c5013185dff0d7fcaf58d471e7822562 /system/sbbdep
parentab1cddd76b44cfee226792e681b8afe158a9fa5b (diff)
downloadslackbuilds-a266527206493be0faea3cfd22fef26666838e53.tar.gz
system/sbbdep: Updated for version 0.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sbbdep')
-rw-r--r--system/sbbdep/README11
-rw-r--r--system/sbbdep/sbbdep.SlackBuild16
-rw-r--r--system/sbbdep/sbbdep.info6
3 files changed, 24 insertions, 9 deletions
diff --git a/system/sbbdep/README b/system/sbbdep/README
index ddcecffe9c..bcd70ff5cd 100644
--- a/system/sbbdep/README
+++ b/system/sbbdep/README
@@ -1,3 +1,12 @@
sbbdep (Slack Build Binary Dependencies)
The tool for exploring binary runtime dependencies
-on Slackware and Slackware based systems.
+on Slackware and Slackware based systems.
+
+sbbdep uses sqlite3 for storing information.
+Per default, sbbdep builds with an own version of sqlite and links statically
+against it. This can be changed.
+If this is done, sbbdep will need the sqlite3 package, which comes per default
+with Slackware, and will link against the shared sqlite3.so library from the
+system.
+If you want to activate this, pass the following option to the Slackbuild.
+USE_INTERNAL_SQLITE3=0
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
diff --git a/system/sbbdep/sbbdep.info b/system/sbbdep/sbbdep.info
index f6f5052d90..5251533a4a 100644
--- a/system/sbbdep/sbbdep.info
+++ b/system/sbbdep/sbbdep.info
@@ -1,8 +1,8 @@
PRGNAM="sbbdep"
-VERSION="0.2.6"
+VERSION="0.3.0"
HOMEPAGE="https://bitbucket.org/a4z/sbbdep"
-DOWNLOAD="https://bitbucket.org/a4z/sbbdep/downloads/sbbdep-0.2.6.tar.gz"
-MD5SUM="6100d5341ebdbf1f5898f3bd50753617"
+DOWNLOAD="https://bitbucket.org/a4z/sbbdep/downloads/sbbdep-0.3.0.tar.gz"
+MD5SUM="fcb7372cae2c3b586a5d7996656aafd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""