summaryrefslogtreecommitdiff
path: root/development/easygui
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-13 00:24:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:24:29 +0200
commit1dfb646ce25b091806e5384d6c2253413bf81628 (patch)
tree19df1774337c69a10b866aca8eb1a909828f2823 /development/easygui
parent53e82de025baef919c584c9682b5dcdac060c866 (diff)
downloadslackbuilds-1dfb646ce25b091806e5384d6c2253413bf81628.tar.gz
development/easygui: Updated for version 0.93
Diffstat (limited to 'development/easygui')
-rw-r--r--development/easygui/easygui.SlackBuild17
-rw-r--r--development/easygui/easygui.info8
2 files changed, 18 insertions, 7 deletions
diff --git a/development/easygui/easygui.SlackBuild b/development/easygui/easygui.SlackBuild
index 17a2ac5742..97fe66bfa3 100644
--- a/development/easygui/easygui.SlackBuild
+++ b/development/easygui/easygui.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=easygui
-VERSION=${VERSION:-0.91}
-ARCH=noarch
+VERSION=${VERSION:-0.93}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,8 +34,17 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRC_VERSION=v$VERSION
+
+if [ "$ARCH" = "i486" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+fi
+
# directory for python packages
-PYTHONDIR=$(python -c 'import sys, os; print os.path.join("/usr/lib", "python%s" % sys.version[:3], "site-packages")')
+PYTHONDIR="/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages"
SAMPLEFILE="python_and_check_logo.gif"
DOCFILES="*.txt *.html"
@@ -65,4 +74,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}
diff --git a/development/easygui/easygui.info b/development/easygui/easygui.info
index 812d7d2f1e..e1502d5378 100644
--- a/development/easygui/easygui.info
+++ b/development/easygui/easygui.info
@@ -1,8 +1,10 @@
PRGNAM="easygui"
-VERSION="0.91"
+VERSION="0.93"
HOMEPAGE="http://easygui.sourceforge.net/"
-DOWNLOAD="http://easygui.sourceforge.net/current_version/easygui_v0.91.tar.gz"
-MD5SUM="a3c4e74d95ac8d32b8c9bcfeed964190"
+DOWNLOAD="http://easygui.sourceforge.net/current_version/easygui_v0.93.tar.gz"
+MD5SUM="764af8a7121751289284957133244867"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="dsomero"