From 51a4c4796ba751f61667145694cb759149d2149d Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 12 Sep 2010 00:45:07 -0500 Subject: libraries/mechanize: Updated for version 0.2.2. Signed-off-by: Robby Workman --- libraries/mechanize/mechanize.SlackBuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'libraries/mechanize/mechanize.SlackBuild') diff --git a/libraries/mechanize/mechanize.SlackBuild b/libraries/mechanize/mechanize.SlackBuild index 918c436a8a..5b96bfdfb2 100644 --- a/libraries/mechanize/mechanize.SlackBuild +++ b/libraries/mechanize/mechanize.SlackBuild @@ -3,16 +3,14 @@ # Written by Larry Hajali PRGNAM=mechanize -VERSION=${VERSION:-0.1.11} -BUILD=${BUILD:-2} +VERSION=0.2.2 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,16 +35,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Use the system's pysetuptools -sed -i '/ez_setup/d' setup.py - -python setup.py install --root=$PKG +python setup.py install --root=$PKG --no-compile find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt *.html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt docs $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3