summaryrefslogtreecommitdiff
path: root/development/bluefish/bluefish.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-03-22 02:29:50 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 14:27:08 +0200
commit780e6d954c97d5e8194eb135f6c6357ea6af7321 (patch)
treeaeaf3857cab3576ed3509d547bedd9a897176691 /development/bluefish/bluefish.SlackBuild
parent8dd8e4f26b533af8ec96115ff1440bef88b2e76c (diff)
downloadslackbuilds-780e6d954c97d5e8194eb135f6c6357ea6af7321.tar.gz
development/bluefish: Updated for version 2.0.0.
Diffstat (limited to 'development/bluefish/bluefish.SlackBuild')
-rw-r--r--development/bluefish/bluefish.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/development/bluefish/bluefish.SlackBuild b/development/bluefish/bluefish.SlackBuild
index 5662a35d31..37af73372f 100644
--- a/development/bluefish/bluefish.SlackBuild
+++ b/development/bluefish/bluefish.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bluefish
-# Copyright 2006-2009 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2010 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bluefish
-VERSION=1.0.7
+VERSION=2.0.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,6 +42,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -59,10 +62,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--without-libgnomeui \
--disable-update-databases \
+ --disable-xml-catalog-update \
--build=$ARCH-slackware-linux
make
@@ -70,9 +76,9 @@ make install DESTDIR=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ 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
)
( cd $PKG/usr/man || exit 1
@@ -91,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}