summaryrefslogtreecommitdiff
path: root/libraries/libsoup/libsoup.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:41:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:47 +0200
commit27182118579896125498e13e738acbcbebb2087d (patch)
tree0b5657d58608cc439a09a7d38ca756f8d6b228fc /libraries/libsoup/libsoup.SlackBuild
parentbd02d6642b405d9d4846f110148c29526e706e1a (diff)
downloadslackbuilds-27182118579896125498e13e738acbcbebb2087d.tar.gz
libraries/libsoup: Updated for version 2.26.2
Diffstat (limited to 'libraries/libsoup/libsoup.SlackBuild')
-rw-r--r--libraries/libsoup/libsoup.SlackBuild24
1 files changed, 16 insertions, 8 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