diff --git a/libraries/libsigc++/libsigc++.SlackBuild b/libraries/libsigc++/libsigc++.SlackBuild index 7d77f3ce21..7684b3534e 100644 --- a/libraries/libsigc++/libsigc++.SlackBuild +++ b/libraries/libsigc++/libsigc++.SlackBuild @@ -26,7 +26,7 @@ # Modified by Michien van Wessem, - 20081029 PRGNAM=libsigc++ -VERSION=2.0.18 +VERSION=2.2.3 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,10 +40,13 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO examples" 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 rm -rf $PKG @@ -59,9 +62,11 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-static=no \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 @@ -71,9 +76,10 @@ mkdir -p $PKG/usr/doc mv $PKG/usr/share/doc/libsigc-2.0/docs $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -rf $PKG/usr/share # Remove empty directory +rm -rf $PKG/usr/share # Remove empty directory rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/images/ # Remove images rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/reference # Remove API docs +rm -f $PKG/usr/doc/$PRGNAM-$VERSION/index.html # Remove useless html file mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libsigc++/libsigc++.info b/libraries/libsigc++/libsigc++.info index c8c5b785c1..3e4d53fe5f 100644 --- a/libraries/libsigc++/libsigc++.info +++ b/libraries/libsigc++/libsigc++.info @@ -1,8 +1,8 @@ PRGNAM="libsigc++" -VERSION="2.0.18" +VERSION="2.2.3" HOMEPAGE="http://libsigc.sourceforge.net/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.18.tar.bz2" -MD5SUM="ddebf5aafc8525d10366a8724abc9f28" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.3.tar.bz2" +MD5SUM="f4574b343eebc4bff66a9e1e5ce6e490" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" -APPROVED="rworkman, Michiel" +APPROVED="dsomero"