aboutsummaryrefslogtreecommitdiff
path: root/libraries/Botan/Botan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Botan/Botan.SlackBuild')
-rw-r--r--libraries/Botan/Botan.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index 9ff761dc1535..6ca3d2028217 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=Botan
VERSION=${VERSION:-1.8.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -76,13 +76,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/man
-
LDFLAGS="$LDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure.py \
- --prefix=$PKG/usr \
+ --prefix=/usr \
--docdir=doc \
--libdir=lib$LIBDIRSUFFIX
@@ -95,7 +93,7 @@ sed -i "s/MAN_LINKS = NO/MAN_LINKS = YES/" build/botan
make
make check
make doxygen
-make install
+make install DESTDIR=$PKG/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true