From b1eacc4adc19f34f866042fdecc2fe190127dc67 Mon Sep 17 00:00:00 2001 From: Jonathan Larsen Date: Thu, 8 Apr 2010 23:32:35 -0400 Subject: libraries/pygoocanvas: Updated for bash4. --- libraries/pygoocanvas/README | 5 ++++- libraries/pygoocanvas/pygoocanvas.SlackBuild | 17 ++++++++++++----- libraries/pygoocanvas/pygoocanvas.info | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) (limited to 'libraries') diff --git a/libraries/pygoocanvas/README b/libraries/pygoocanvas/README index 2425c2f087..aa2e203640 100644 --- a/libraries/pygoocanvas/README +++ b/libraries/pygoocanvas/README @@ -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) \ No newline at end of file diff --git a/libraries/pygoocanvas/pygoocanvas.SlackBuild b/libraries/pygoocanvas/pygoocanvas.SlackBuild index af4a9f32f8..448b6df729 100644 --- a/libraries/pygoocanvas/pygoocanvas.SlackBuild +++ b/libraries/pygoocanvas/pygoocanvas.SlackBuild @@ -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 diff --git a/libraries/pygoocanvas/pygoocanvas.info b/libraries/pygoocanvas/pygoocanvas.info index 1379d6e94b..b4c067e877 100644 --- a/libraries/pygoocanvas/pygoocanvas.info +++ b/libraries/pygoocanvas/pygoocanvas.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Jonathan Larsen" EMAIL="agentc0re@learnix.net" -APPROVED="michiel" +APPROVED="dsomero" \ No newline at end of file -- cgit v1.2.3