summaryrefslogtreecommitdiff
path: root/misc/gramps/gramps.SlackBuild
diff options
context:
space:
mode:
authorBill Kirkpatrick <bkirkp@gmail.com>2010-06-15 04:11:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 04:11:51 -0500
commit45e8294d0e6bf58b1777f07e427973bdc29ac412 (patch)
tree85d6715ec5b5ebb857d4a0eec4b3e93c9cbe788b /misc/gramps/gramps.SlackBuild
parent906ce0e3ee58d4c924738f6970ce088042929875 (diff)
downloadslackbuilds-45e8294d0e6bf58b1777f07e427973bdc29ac412.tar.gz
misc/gramps: Updated for version 3.2.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/gramps/gramps.SlackBuild')
-rw-r--r--misc/gramps/gramps.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/gramps/gramps.SlackBuild b/misc/gramps/gramps.SlackBuild
index 21f1cc747b..93bcfdc16e 100644
--- a/misc/gramps/gramps.SlackBuild
+++ b/misc/gramps/gramps.SlackBuild
@@ -5,16 +5,14 @@
# Written by Bill Kirkpatrick <bkirkp@gmail.com>
PRGNAM=gramps
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.2.3}
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
@@ -38,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,6 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-packager-mode \
--build=$ARCH-slackware-linux
make
@@ -70,10 +69,8 @@ make install DESTDIR=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING FAQ INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION