mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/sbbdep: Updated for version 0.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
ab1cddd76b
commit
a266527206
3 changed files with 24 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue