mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
libraries/libxml++: Updated for version 2.24.2
This commit is contained in:
parent
7d6bc4621b
commit
1e859b2254
2 changed files with 17 additions and 8 deletions
|
@ -6,10 +6,11 @@
|
||||||
# Modified by Michiel van Wessem <michiel@slackbuilds.org>
|
# Modified by Michiel van Wessem <michiel@slackbuilds.org>
|
||||||
|
|
||||||
PRGNAM=libxml++
|
PRGNAM=libxml++
|
||||||
VERSION=2.20.0
|
VERSION=2.24.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
|
||||||
|
@ -21,6 +22,8 @@ if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -30,20 +33,26 @@ rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
find . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
-exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var
|
--localstatedir=/var \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
( cd $PKG
|
( cd $PKG
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libxml++"
|
PRGNAM="libxml++"
|
||||||
VERSION="2.20.0"
|
VERSION="2.24.2"
|
||||||
HOMEPAGE="http://libxmlplusplus.sourceforge.net"
|
HOMEPAGE="http://libxmlplusplus.sourceforge.net"
|
||||||
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.20/libxml++-2.20.0.tar.bz2"
|
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.24/libxml++-2.24.2.tar.bz2"
|
||||||
MD5SUM="4fe6ae1344e523ea4756733be71f9af3"
|
MD5SUM="ec98c0975cc21d62c3e9e71f3beffde2"
|
||||||
MAINTAINER="Iskar Enev"
|
MAINTAINER="Iskar Enev"
|
||||||
EMAIL="iskar.enev@gmail.com"
|
EMAIL="iskar.enev@gmail.com"
|
||||||
APPROVED="rworkman, Michiel"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue