libraries/Botan: Fixed python path

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-16 12:13:49 -04:00
parent 207b0a2fb4
commit 2a7949f879

View file

@ -27,7 +27,7 @@
PRGNAM=Botan
VERSION=${VERSION:-1.10.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
#this kludge is required, courtesy of upstream
@ -90,8 +90,8 @@ make check
LD_PRELOAD="./libbotan-1.10.so" ./check --test
make -f Makefile.python
make -f Makefile.python install \
PYTHON_ROOT=/usr/lib$LIBDIRSUFFIX/python2.6/config \
PYTHON_SITE_PACKAGE_DIR=$PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages
PYTHON_ROOT=/usr/lib$LIBDIRSUFFIX/python2.7/config \
PYTHON_SITE_PACKAGE_DIR=$PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages
make install DESTDIR=$PKG/usr
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \