diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-06-05 19:45:07 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-05 19:45:07 -0400 |
commit | eb3cbd0717c55e501c4db21005480f0694fa376b (patch) | |
tree | c3872a45308e3dc415c89990483ccb08f5a19a0f /libraries/libgda/libgda.SlackBuild | |
parent | 06435eea38af2693c641bc11f8d526a686b2a815 (diff) |
libraries/libgda: Updated for version 5.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libgda/libgda.SlackBuild')
-rw-r--r-- | libraries/libgda/libgda.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/libgda/libgda.SlackBuild b/libraries/libgda/libgda.SlackBuild index 5e3ab6a0e02ff..682b83339a1f7 100644 --- a/libraries/libgda/libgda.SlackBuild +++ b/libraries/libgda/libgda.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libgda -# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,11 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libgda -VERSION=${VERSION:-5.1.1} +VERSION=${VERSION:-5.1.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 ;; @@ -37,9 +36,9 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/build} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -55,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -84,7 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install DESTDIR=$PKG 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 @@ -97,6 +96,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |