summaryrefslogtreecommitdiff
path: root/libraries/CEGUI/CEGUI.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-12 17:40:10 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:40:10 +0200
commitdbbfd32409c576c2746822359f0f03af41dfa02e (patch)
treeecd47f382782246a03f1e3dee067c20623de2799 /libraries/CEGUI/CEGUI.SlackBuild
parent32500203ad83a0d0e852a5406d194f7f1e8b015c (diff)
downloadslackbuilds-dbbfd32409c576c2746822359f0f03af41dfa02e.tar.gz
libraries/CEGUI: Updated for version 0.6.2
Diffstat (limited to 'libraries/CEGUI/CEGUI.SlackBuild')
-rw-r--r--libraries/CEGUI/CEGUI.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild
index 8f5347b878..3a68e63cd7 100644
--- a/libraries/CEGUI/CEGUI.SlackBuild
+++ b/libraries/CEGUI/CEGUI.SlackBuild
@@ -5,7 +5,7 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=CEGUI
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.6.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -42,18 +45,23 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-debug
make force_arch="$ARCH"
make install DESTDIR=$PKG
( cd $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
+ 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS COPYING README ChangeLog TODO TinyXML-License $PKG/usr/doc/$PRGNAM-$VERSION
+cp \
+ AUTHORS COPYING README ChangeLog TODO TinyXML-License \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install