libraries/GConf: Updated for version 2.26.0

This commit is contained in:
grey 2010-05-12 17:40:12 +02:00 committed by Robby Workman
parent 5784f75823
commit 9732fa8c34
3 changed files with 17 additions and 15 deletions

View file

@ -24,9 +24,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GConf
VERSION=2.9.91
VERSION=2.26.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -36,10 +36,13 @@ OUTPUT=${OUTPUT:-/tmp}
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
set -e
@ -48,7 +51,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -61,12 +64,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
--enable-debug=no \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@ -78,9 +82,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /usr/share/gtk-doc/html/gconf html
)
( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/gconf html )
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;

View file

@ -1,8 +1,8 @@
PRGNAM="GConf"
VERSION="2.9.91"
VERSION="2.26.0"
HOMEPAGE="http://www.gnome.org/projects/gconf/"
DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/GConf/2.9/GConf-2.9.91.tar.gz"
MD5SUM="39ba344cfdba395429bafec9bf3e505d"
MAINTAINER="koolniczka"
EMAIL="koolniczka@szm.com"
APPROVED="alien"
DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/GConf/2.26/GConf-2.26.0.tar.bz2"
MD5SUM="b010f0de356ea093c6a73778b13de956"
MAINTAINER="grey"
EMAIL="ginolovesyou@gmail.com"
APPROVED="rworkman"

View file

@ -3,6 +3,6 @@ Windows registry and annoying in the same manner. It's being written
for the GNOME desktop but does not require GNOME; configure should
notice if GNOME is not installed and compile the basic GConf library anyway.
Compilation on a clean Slackware 12.1 system additionally requires ORBit2
Compilation on a clean Slackware 12.2 system additionally requires ORBit2
to be installed first. A SlackBuild for ORBit2 is available from the
SlackBuilds.org repository.