summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libsoup/libsoup.SlackBuild24
-rw-r--r--libraries/libsoup/libsoup.info8
2 files changed, 20 insertions, 12 deletions
diff --git a/libraries/libsoup/libsoup.SlackBuild b/libraries/libsoup/libsoup.SlackBuild
index f9051b5622..e574590061 100644
--- a/libraries/libsoup/libsoup.SlackBuild
+++ b/libraries/libsoup/libsoup.SlackBuild
@@ -3,29 +3,32 @@
# Slackware build script for libsoup
# Written by Erik Hanson erik@slackbuilds.org
-set -eu
-
PRGNAM=libsoup
-VERSION=2.2.105
+VERSION=2.26.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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 -eu
+
rm -rf $PKG
-mkdir -p $TMP $PKG
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
@@ -36,16 +39,21 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --disable-static
+ --disable-static \
+ --without-gnome \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -a ChangeLog COPYING AUTHORS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING AUTHORS 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
cd $PKG
diff --git a/libraries/libsoup/libsoup.info b/libraries/libsoup/libsoup.info
index 3141db9129..9e42c2f54b 100644
--- a/libraries/libsoup/libsoup.info
+++ b/libraries/libsoup/libsoup.info
@@ -1,8 +1,8 @@
PRGNAM="libsoup"
-VERSION="2.2.105"
+VERSION="2.26.2"
HOMEPAGE="http://live.gnome.org/LibSoup"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.2/libsoup-2.2.105.tar.bz2"
-MD5SUM="7fa48b06a0e2b0ff3d2fa45cf331f169"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.26/libsoup-2.26.2.tar.bz2"
+MD5SUM="61abd9bf1435e37def0956248a03832c"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="rworkman"