summaryrefslogtreecommitdiff
path: root/development/gazpacho/gazpacho.SlackBuild
diff options
context:
space:
mode:
authorMikko Varri <vmj@linuxbox.fi>2010-05-13 00:24:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:24:37 +0200
commit525845cb47089c45f9145a8de5104190a385d1d9 (patch)
tree187808e3b3630bea0f038fb8a8778cef6b74e4f8 /development/gazpacho/gazpacho.SlackBuild
parentbce765a96489a21222c899d217a1e59f3528a226 (diff)
downloadslackbuilds-525845cb47089c45f9145a8de5104190a385d1d9.tar.gz
development/gazpacho: Updated for version 0.7.2
Diffstat (limited to 'development/gazpacho/gazpacho.SlackBuild')
-rw-r--r--development/gazpacho/gazpacho.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/development/gazpacho/gazpacho.SlackBuild b/development/gazpacho/gazpacho.SlackBuild
index ec56bf499a..9fa983c6b2 100644
--- a/development/gazpacho/gazpacho.SlackBuild
+++ b/development/gazpacho/gazpacho.SlackBuild
@@ -7,8 +7,8 @@
PRGNAM=gazpacho
VERSION=${VERSION:-0.7.2}
-ARCH=noarch
-BUILD=${BUILD:-2}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -31,6 +31,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Remove sys.path manipulation which is only needed for the developers who
+# don't want to install the development version (and the manipulation assumes
+# %prefix%/lib/ as the python path).
+patch -p0 < $CWD/bin_gazpacho.patch
+
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc
@@ -46,5 +51,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}