diff options
author | M Slodkiewicz <slociu@wp.pl> | 2010-12-10 20:56:41 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-10 20:56:41 -0600 |
commit | f35d13977504d4f36abc61b08245aa62602fe8fe (patch) | |
tree | 71e63a59831952840fc95e7b8672821b1fb49d42 /libraries/libgadu/libgadu.SlackBuild | |
parent | 663780e8c4045036b5496c735d4e9c530e9cf518 (diff) | |
download | slackbuilds-f35d13977504d4f36abc61b08245aa62602fe8fe.tar.gz |
libraries/libgadu: Updated for version 1.9.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libgadu/libgadu.SlackBuild')
-rw-r--r-- | libraries/libgadu/libgadu.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libraries/libgadu/libgadu.SlackBuild b/libraries/libgadu/libgadu.SlackBuild index 6682543549..52edd32c15 100644 --- a/libraries/libgadu/libgadu.SlackBuild +++ b/libraries/libgadu/libgadu.SlackBuild @@ -1,16 +1,18 @@ #!/bin/bash +# Slackware build script for libgadu + +# Written by marco slociu@wp.pl + PRGNAM=libgadu -VERSION=1.8.2 +VERSION=${VERSION:-1.9.0} 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 @@ -34,6 +36,8 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -59,15 +63,15 @@ CXXFLAGS="$SLKCFLAGS" \ --program-suffix="" \ --build=$ARCH-slackware-linux -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |