aboutsummaryrefslogtreecommitdiff
path: root/business/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-07-01 02:59:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-01 02:59:08 -0500
commit1b02c473a20e83c10ba3e5bfdf2b9cd9e5179371 (patch)
treef07357559468495681151e9dc9bd4ea3c9ce35f1 /business/gnucash/gnucash.SlackBuild
parent0f3275a1a883f91c187afa95a5b278fa49471a84 (diff)
business/gnucash: Patched to build with goffice-0.8.x API.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'business/gnucash/gnucash.SlackBuild')
-rw-r--r--business/gnucash/gnucash.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild
index a4f3bd937ceb..af50c2a99061 100644
--- a/business/gnucash/gnucash.SlackBuild
+++ b/business/gnucash/gnucash.SlackBuild
@@ -24,15 +24,13 @@
PRGNAM=gnucash
VERSION=2.2.9
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -71,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch for new goffice API
+patch -p1 < $CWD/gnucash_goffice.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -96,10 +97,8 @@ mkdir -p $PKG/etc/gconf/gconf.xml.defaults
find $PKG | xargs 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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*