libraries/libsoup: Updated for version 2.26.2

This commit is contained in:
Erik Hanson 2010-05-12 17:41:47 +02:00 committed by Robby Workman
parent bd02d6642b
commit 2718211857
2 changed files with 20 additions and 12 deletions

View file

@ -3,29 +3,32 @@
# Slackware build script for libsoup # Slackware build script for libsoup
# Written by Erik Hanson erik@slackbuilds.org # Written by Erik Hanson erik@slackbuilds.org
set -eu
PRGNAM=libsoup PRGNAM=libsoup
VERSION=2.2.105 VERSION=2.26.2
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=`pwd` CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -eu
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
@ -36,16 +39,21 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var/lib \ --localstatedir=/var/lib \
--disable-static --disable-static \
--without-gnome \
--build=$ARCH-slackware-linux
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog COPYING AUTHORS NEWS README $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 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/slack-desc > $PKG/install/slack-desc
cd $PKG cd $PKG

View file

@ -1,8 +1,8 @@
PRGNAM="libsoup" PRGNAM="libsoup"
VERSION="2.2.105" VERSION="2.26.2"
HOMEPAGE="http://live.gnome.org/LibSoup" HOMEPAGE="http://live.gnome.org/LibSoup"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.2/libsoup-2.2.105.tar.bz2" DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.26/libsoup-2.26.2.tar.bz2"
MD5SUM="7fa48b06a0e2b0ff3d2fa45cf331f169" MD5SUM="61abd9bf1435e37def0956248a03832c"
MAINTAINER="Erik Hanson" MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org" EMAIL="erik@slackbuilds.org"
APPROVED="David Somero" APPROVED="rworkman"