Skip to content

Commit

Permalink
python/pybluez: ARCH fixes and cleanup.
Browse files Browse the repository at this point in the history
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
  • Loading branch information
dsomero authored and rworkman committed May 3, 2011
1 parent adbde3e commit 839158a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions python/pybluez/pybluez.SlackBuild
Expand Up @@ -22,13 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

SRCNAM=PyBluez
PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:])
PRGNAM=pybluez
VERSION=0.18
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

SRCNAM=PyBluez

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
Expand Down

0 comments on commit 839158a

Please sign in to comment.