aboutsummaryrefslogtreecommitdiff
path: root/graphics/goocanvas
diff options
context:
space:
mode:
authorJonathan Larsen <agentc0re@learnix.net>2010-04-08 23:30:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-15 10:27:08 +0200
commit8e2cce97315928e472cb5c968b4274bbdbc46a8b (patch)
treeebe9013b4e94ea7870fa8fbb8dc02fa9145d01fc /graphics/goocanvas
parent607a5c6b0077474667cfd7a55da49ed2c92eae31 (diff)
graphics/goocanvas: Updated for bash4.
Diffstat (limited to 'graphics/goocanvas')
-rw-r--r--graphics/goocanvas/README3
-rw-r--r--graphics/goocanvas/goocanvas.SlackBuild20
-rw-r--r--graphics/goocanvas/goocanvas.info2
3 files changed, 16 insertions, 9 deletions
diff --git a/graphics/goocanvas/README b/graphics/goocanvas/README
index 83178dab05865..9f8ad99068c61 100644
--- a/graphics/goocanvas/README
+++ b/graphics/goocanvas/README
@@ -1,2 +1,5 @@
GooCanvas is a canvas widget for GTK+ that uses the cairo 2D library for drawing.
+Requires: (included in slackware)
+gtk+2
+cairo
diff --git a/graphics/goocanvas/goocanvas.SlackBuild b/graphics/goocanvas/goocanvas.SlackBuild
index 25aa78f81932a..244a82b1d36c2 100644
--- a/graphics/goocanvas/goocanvas.SlackBuild
+++ b/graphics/goocanvas/goocanvas.SlackBuild
@@ -21,10 +21,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Change Log
+#
+# Mar 3rd, 2010
+# *Revised to build "2" - fixed the "strip" for bash 4 compatability
+# and removed the man page section
+#
+
PRGNAM=goocanvas
VERSION=0.14
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -77,16 +84,13 @@ 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
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+cd $TMP/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/goocanvas/goocanvas.info b/graphics/goocanvas/goocanvas.info
index 1c4890ec495a7..800d96fcedcf6 100644
--- a/graphics/goocanvas/goocanvas.info
+++ b/graphics/goocanvas/goocanvas.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Jonathan Larsen"
EMAIL="agentc0re@learnix.net"
-APPROVED="michiel"
+APPROVED="dsomero"