libraries/Botan: Fixed broken package config file.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2010-07-03 09:47:21 -04:00 committed by Erik Hanson
parent 384895138f
commit 2ee6ddb44f
1 changed files with 3 additions and 5 deletions

View File

@ -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