diff options
author | LukenShiro <lukenshiro@ngi.it> | 2010-05-13 00:25:23 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:25:23 +0200 |
commit | 86910eb92d871c13f4c83a51e133d359a62ea5e2 (patch) | |
tree | 645f9be42f50bf5362c20ae8f930fda7ce097e4e /development/python-pmw | |
parent | 94e92b19015b4e575ca228f305f4567f08ea2854 (diff) |
development/python-pmw: Updated for version 1.3.2
Diffstat (limited to 'development/python-pmw')
-rw-r--r-- | development/python-pmw/python-pmw.SlackBuild | 23 | ||||
-rw-r--r-- | development/python-pmw/python-pmw.info | 2 | ||||
-rw-r--r-- | development/python-pmw/slack-desc | 2 |
3 files changed, 19 insertions, 8 deletions
diff --git a/development/python-pmw/python-pmw.SlackBuild b/development/python-pmw/python-pmw.SlackBuild index e1c2b398d897..f21170d4c659 100644 --- a/development/python-pmw/python-pmw.SlackBuild +++ b/development/python-pmw/python-pmw.SlackBuild @@ -22,13 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Exit on most errors -set -e - PRGNAM=python-pmw VERSION=${VERSION:-1.3.2} -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-2} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -38,8 +35,20 @@ OUTPUT=${OUTPUT:-/tmp} SRC_PRGNAM=Pmw SRC_SUBDIR=Pmw_1_3 + +if [ "$ARCH" = "i486" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +fi + # Python site-packages directory -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" + +# Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -66,4 +75,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/python-pmw/python-pmw.info b/development/python-pmw/python-pmw.info index eb2e40e75c67..e117586b1ca1 100644 --- a/development/python-pmw/python-pmw.info +++ b/development/python-pmw/python-pmw.info @@ -3,6 +3,8 @@ VERSION="1.3.2" HOMEPAGE="http://pmw.sourceforge.net" DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw.1.3.2.tar.gz" MD5SUM="7f30886fe9885ab3cf85dac6ce1fbda5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" APPROVED="dsomero" diff --git a/development/python-pmw/slack-desc b/development/python-pmw/slack-desc index 666a206e2090..927d588af455 100644 --- a/development/python-pmw/slack-desc +++ b/development/python-pmw/slack-desc @@ -15,5 +15,5 @@ python-pmw: built on this foundation. These megawidgets include notebooks, python-pmw: comboboxes, selection widgets, paned widgets, scrolled widgets python-pmw: and dialog windows. python-pmw: -python-pmw: http://pmw.sourceforge.net/ +python-pmw: Homepage: http://pmw.sourceforge.net/ python-pmw: |