aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorBloyburt <alexpen@startmail.com>2023-11-09 19:06:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-09 21:03:35 +0700
commit81f81c86a5000d8b294d85888faa08e49a915e9b (patch)
tree79363b1c6493f2a396a02e5daf0015aa19087996 /network
parentf8c94ab3140aadd4d91c2b2d68bb6c89762def4c (diff)
network/badwolf: Updated for version 1.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/badwolf/badwolf.SlackBuild29
-rw-r--r--network/badwolf/badwolf.info6
2 files changed, 14 insertions, 21 deletions
diff --git a/network/badwolf/badwolf.SlackBuild b/network/badwolf/badwolf.SlackBuild
index 56b11b183fcb..2b4f850571ac 100644
--- a/network/badwolf/badwolf.SlackBuild
+++ b/network/badwolf/badwolf.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=badwolf
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,16 +49,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -76,21 +72,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-VERSION="$VERSION" \
-PREFIX=/usr \
-MANDIR=/usr/man \
-DOCDIR="/usr/doc/badwolf-$VERSION" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+PREFIX=usr \
+BINDIR=${PREFIX}/bin \
+MANDIR=${PREFIX}/man \
+DOCDIR=${PREFIX}/doc/badwolf-${VERSION} \
+DATADIR=${PREFIX}/share/badwolf \
+APPSDIR=${PREFIX}/share/applications \
+./configure
+
+ninja
+DESTDIR=$PKG ninja install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/badwolf/badwolf.info b/network/badwolf/badwolf.info
index df79a13b7e26..1c5e3bb1d353 100644
--- a/network/badwolf/badwolf.info
+++ b/network/badwolf/badwolf.info
@@ -1,8 +1,8 @@
PRGNAM="badwolf"
-VERSION="1.2.1"
+VERSION="1.3.0"
HOMEPAGE="https://hacktivis.me/projects/badwolf"
-DOWNLOAD="https://hacktivis.me/releases/badwolf-1.2.1.tar.gz"
-MD5SUM="647644c35147f816e8eba5acb202fd14"
+DOWNLOAD="https://hacktivis.me/releases/badwolf-1.3.0.tar.gz"
+MD5SUM="9d222680f8dc274c77f530d8581c2d52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk"