aboutsummaryrefslogtreecommitdiff
path: root/audio/kanola/kanola.SlackBuild
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-13 00:21:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:23 +0200
commit6a1b27102dd993fdf0314fda0536e09e19af724b (patch)
tree2c51715203d4f8a2514dcb18ef72566d6102ce1f /audio/kanola/kanola.SlackBuild
parent8fde24d6aaa89b7c8f1bf20dc906a7886b7689e8 (diff)
audio/kanola: Updated for version 0.1
Diffstat (limited to 'audio/kanola/kanola.SlackBuild')
-rw-r--r--audio/kanola/kanola.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/kanola/kanola.SlackBuild b/audio/kanola/kanola.SlackBuild
index 3d91a90c1e0a2..cdeec798339a7 100644
--- a/audio/kanola/kanola.SlackBuild
+++ b/audio/kanola/kanola.SlackBuild
@@ -24,19 +24,18 @@
# Modified by the SlackBuilds.org project
-set -e
-
PRGNAM=kanola
VERSION=0.1
-ARCH=noarch
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# This program is a python (noarch) program, so the CFLAGS have been left out
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -47,8 +46,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-# ./configure is not used here
-# Python applications use setup.py
/usr/bin/python setup.py install --prefix $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -59,4 +56,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}