diff options
author | Daniel de Kok <danieldk@pobox.com> | 2010-05-12 17:38:46 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:38:46 +0200 |
commit | 8f170791e2e3083176e5998655ca3a446d6e6339 (patch) | |
tree | 4d6aac76759850dc9a539ab24f351b9fd4ca6e37 /development | |
parent | 84c5f3b88503644c7a5965de58f5f8743eddbfbc (diff) | |
download | slackbuilds-8f170791e2e3083176e5998655ca3a446d6e6339.tar.gz |
development/pil: Updated for version 1.1.6
Diffstat (limited to 'development')
-rw-r--r-- | development/pil/pil.SlackBuild | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/development/pil/pil.SlackBuild b/development/pil/pil.SlackBuild index d5d1711351..ead5623f58 100644 --- a/development/pil/pil.SlackBuild +++ b/development/pil/pil.SlackBuild @@ -22,41 +22,30 @@ # 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=pil DISTNAM=Imaging VERSION=1.1.6 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -fi +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DISTNAM-$VERSION -tar xzvf $CWD/$DISTNAM-$VERSION.tar.gz +tar xvf $CWD/$DISTNAM-$VERSION.tar.gz cd $DISTNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ -python setup.py bdist - -tar zxvf dist/$(echo $PRGNAM | tr -s '[:lower:]' \ - '[:upper:]')-$VERSION.linux-i686.tar.gz \ - -C $PKG +python setup.py install --root=$PKG find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \ | xargs strip --strip-unneeded 2> /dev/null |