diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-05-01 10:31:00 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 09:08:24 -0500 |
commit | 839158abf03189f5a019edeced82aa4db67b6876 (patch) | |
tree | 59992dfa135581c4f71054a5f06ac2a9354d21f3 /python/pybluez/pybluez.SlackBuild | |
parent | adbde3e07b5cde094c8b53d73a0b078692811f4d (diff) |
python/pybluez: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/pybluez/pybluez.SlackBuild')
-rw-r--r-- | python/pybluez/pybluez.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/python/pybluez/pybluez.SlackBuild b/python/pybluez/pybluez.SlackBuild index 2436a80e0bae5..c8337439ec58d 100644 --- a/python/pybluez/pybluez.SlackBuild +++ b/python/pybluez/pybluez.SlackBuild @@ -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 |