mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/tagpy: Miscellaneous cleanups.
This commit is contained in:
parent
417a08e001
commit
ca23c84aed
1 changed files with 11 additions and 2 deletions
|
@ -24,10 +24,19 @@
|
||||||
|
|
||||||
PRGNAM=tagpy
|
PRGNAM=tagpy
|
||||||
VERSION=${VERSION:-0.94.5}
|
VERSION=${VERSION:-0.94.5}
|
||||||
ARCH=${ARCH:-i486}
|
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
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)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -62,7 +71,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--boost-inc-dir=/usr/include/boost \
|
--boost-inc-dir=/usr/include/boost \
|
||||||
--boost-lib-dir=/usr/lib \
|
--boost-lib-dir=/usr/lib \
|
||||||
--boost-python-libname=boost_python-mt \
|
--boost-python-libname=boost_python \
|
||||||
--taglib-inc-dir=/usr/include/taglib \
|
--taglib-inc-dir=/usr/include/taglib \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue