libraries/libsigcxx: Updated for version 2.0.18

This commit is contained in:
Paul Wisehart 2010-05-11 19:45:20 +02:00 committed by Robby Workman
parent 70977bd947
commit 1602bfac9c
4 changed files with 27 additions and 15 deletions

View File

@ -7,4 +7,3 @@ It also contains adaptor classes for connection of dissimilar
callbacks and has an ease of use unmatched by other C++ callback
libraries. Libsigc++ is licensed under the GNU Library General
Public License, LGPL.

View File

@ -22,30 +22,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
# Updated by Andrew Brouwers, abrouwers@gmail.com
PRGNAM=libsigcxx
PKGNAME=libsigc++
VERSION=2.0.17
VERSION=2.0.18
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PKGNAME
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO examples"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PKGNAME-$VERSION
tar -xvzf $CWD/$PKGNAME-$VERSION.tar.gz || exit 1
tar xvf $CWD/$PKGNAME-$VERSION.tar.bz2 || exit 1
cd $PKGNAME-$VERSION || exit 1
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
@ -64,11 +69,11 @@ make install-strip DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/libsigc-2.0/docs $PKG/usr/doc/$PKGNAME-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO examples \
$PKG/usr/doc/$PKGNAME-$VERSION
cp -a $DOCS $PKG/usr/doc/$PKGNAME-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PRGNAM.SlackBuild
# Remove API reference docs - no need for these
rm -rf $PKG/usr/doc/$PKGNAME-$VERSION/reference
rm -rf $PKG/usr/share # Remove empty directory
rm -rf $PKG/usr/doc/$PKGNAME-$VERSION/images/ # Remove images
rm -rf $PKG/usr/doc/$PKGNAME-$VERSION/reference # Remove API docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,8 +1,8 @@
PRGNAM="libsigcxx"
VERSION="2.0.17"
VERSION="2.0.18"
HOMEPAGE="http://libsigc.sourceforge.net/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.17.tar.gz"
MD5SUM="556c5f66c58ef02906e22ab199c35222"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.18.tar.bz2"
MD5SUM="ddebf5aafc8525d10366a8724abc9f28"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
APPROVED="rworkman"

View File

@ -1,7 +1,15 @@
libsigc++: libsigc++
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler---------------------------------------------------|
libsigc++: libsigc++ (typesafe callback system for standard C++)
libsigc++:
libsigc++: libsigc++ implements a typesafe callback system for standard C++. It
libsigc++: allows you to define signals and to connect those signals to any
libsigc++: libsigc++ implements a typesafe callback system for standard C++.
libsigc++: It allows you to define signals and to connect those signals to any
libsigc++: callback function, either global or a member function, regardless
libsigc++: of whether it is static or virtual.
libsigc++: It also contains adaptor classes for connection of dissimilar