mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libsigc++: Updated for version 2.2.3
This commit is contained in:
parent
ca6c30d831
commit
e47803d483
2 changed files with 12 additions and 6 deletions
|
@ -26,7 +26,7 @@
|
|||
# Modified by Michien van Wessem, <michiel@slackbuilds.org> - 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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue