aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libgadu/libgadu.SlackBuild18
-rw-r--r--libraries/libgadu/libgadu.info8
2 files changed, 15 insertions, 11 deletions
diff --git a/libraries/libgadu/libgadu.SlackBuild b/libraries/libgadu/libgadu.SlackBuild
index 668254354918c..52edd32c15d73 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
diff --git a/libraries/libgadu/libgadu.info b/libraries/libgadu/libgadu.info
index ced7b9b64f973..75908a071079c 100644
--- a/libraries/libgadu/libgadu.info
+++ b/libraries/libgadu/libgadu.info
@@ -1,10 +1,10 @@
PRGNAM="libgadu"
-VERSION="1.8.2"
+VERSION="1.9.0"
HOMEPAGE="http://toxygen.net/libgadu/"
-DOWNLOAD="http://toxygen.net/libgadu/files/libgadu-1.8.2.tar.gz"
-MD5SUM="1090f82f8a1bb99e9cdf5853188f625f"
+DOWNLOAD="http://toxygen.net/libgadu/files/libgadu-1.9.0.tar.gz"
+MD5SUM="4a18762d984e20495aa39a4032c17d5f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="M Slodkiewicz"
EMAIL="slociu@wp.pl"
-APPROVED="dsomero"
+APPROVED="rworkman"