|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2008,2009,2010,2012 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-wxPython} |
|
|
|
|
VERSION=${VERSION:-2.8.9.1} |
|
|
|
|
VERSION=${VERSION:-2.8.12.1} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-src-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/wxpython/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -88,6 +88,10 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
python setup.py build |
|
|
|
|
python setup.py install --root=$PKG |
|
|
|
|
|
|
|
|
|
# Strip binaries |
|
|
|
|
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \ |
|
|
|
|
xargs strip --strip-unneeded 2> /dev/null |
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
cp -r docs/* $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|