From 1dfb646ce25b091806e5384d6c2253413bf81628 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Thu, 13 May 2010 00:24:29 +0200 Subject: development/easygui: Updated for version 0.93 --- development/easygui/easygui.SlackBuild | 17 +++++++++++++---- development/easygui/easygui.info | 8 +++++--- 2 files changed, 18 insertions(+), 7 deletions(-) (limited to 'development/easygui') 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" -- cgit v1.2.3