aboutsummaryrefslogtreecommitdiff
path: root/academic/geda-gaf/geda-gaf.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 14:50:15 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 17:13:43 -0500
commitf048c42e966a9a8061e780f23b7b194ec5cb06ea (patch)
treee6108db83e122b091c7f99de0e916bb0a004354c /academic/geda-gaf/geda-gaf.SlackBuild
parent26ab417fb8a9945421887ebf3f05a0c015cb7d03 (diff)
academic/geda-gaf: Updated for version 1.6.2
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/geda-gaf/geda-gaf.SlackBuild')
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index 71c10098e244..8002c40bc202 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -5,16 +5,14 @@
# Written by Stephen Van Berg stephen_van_berg@earlicker.com
PRGNAM=geda-gaf
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,6 +51,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -69,13 +71,11 @@ make install DESTDIR=$PKG
rm -f $PKG/usr/share/applications/mimeinfo.cache
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( 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
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \