summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2010-07-03 09:47:21 -0400
committerErik Hanson <erik@slackbuilds.org>2010-07-03 13:10:25 -0500
commit2ee6ddb44fe3bc638f625d7f985fe7147cba2d7f (patch)
treedc17cf7ac3ad93d4fd23cbb0f701868aede1a11d /libraries
parent384895138f4dc2b7ea22e9515a08f6bde4430a96 (diff)
downloadslackbuilds-2ee6ddb44fe3bc638f625d7f985fe7147cba2d7f.tar.gz
libraries/Botan: Fixed broken package config file.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 9ff761dc15..6ca3d20282 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