summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/pygoocanvas/README5
-rw-r--r--libraries/pygoocanvas/pygoocanvas.SlackBuild17
-rw-r--r--libraries/pygoocanvas/pygoocanvas.info2
3 files changed, 17 insertions, 7 deletions
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