development/python-pmw: Updated for version 1.3.2

This commit is contained in:
LukenShiro 2010-05-13 00:25:23 +02:00 committed by David Somero
parent 94e92b1901
commit 86910eb92d
3 changed files with 19 additions and 8 deletions

View File

@ -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}

View File

@ -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"

View File

@ -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: