libraries/tagpy: Miscellaneous cleanups.

This commit is contained in:
dsomero 2010-05-21 22:55:12 -04:00 committed by David Somero
parent 417a08e001
commit ca23c84aed

View file

@ -24,10 +24,19 @@
PRGNAM=tagpy
VERSION=${VERSION:-0.94.5}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -62,7 +71,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--boost-inc-dir=/usr/include/boost \
--boost-lib-dir=/usr/lib \
--boost-python-libname=boost_python-mt \
--boost-python-libname=boost_python \
--taglib-inc-dir=/usr/include/taglib \
|| exit 1