libraries/pygoocanvas: Updated for bash4.

This commit is contained in:
Jonathan Larsen 2010-04-08 23:32:35 -04:00 committed by David Somero
parent 8e2cce9731
commit b1eacc4adc
3 changed files with 17 additions and 7 deletions

View file

@ -1,3 +1,6 @@
PyGoocanvas are the python bindings for GooCanvas which is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
goocanvas is required for building PyGoocanvas, and can be found on slackbuilds.org
Requirements:
python (included in slackware)
pygtk (included in slackware)
goocanvas (found on slackbuilds)

View file

@ -21,10 +21,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Mar 3rd, 2010
# Change to build "2", fixed the "strip" for bash 4 compatability
# there were no man pages to be built, removed that section
#
PRGNAM=pygoocanvas
VERSION=0.14.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -60,7 +65,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
@ -77,12 +82,14 @@ make install DESTDIR=$PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Jonathan Larsen"
EMAIL="agentc0re@learnix.net"
APPROVED="michiel"
APPROVED="dsomero"