libgtop: Upgraded to 2.30.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-09-09 09:59:04 +07:00
parent a04ecaf0d6
commit b742ce7999

View file

@ -26,7 +26,7 @@
# Modified by Willy Sudiarto Raharjo for CSB Project
PRGNAM=libgtop
VERSION=${VERSION:-2.28.5}
VERSION=${VERSION:-2.30.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_csb}
@ -38,7 +38,7 @@ if [ -z "$ARCH" ]; then
esac
fi
wget -c http://ftp.gnome.org/pub/gnome/sources/libgtop/2.28/$PRGNAM-$VERSION.tar.xz
wget -c http://ftp.gnome.org/pub/gnome/sources/libgtop/2.30/$PRGNAM-$VERSION.tar.xz
CWD=$(pwd)
TMP=${TMP:-/tmp/csb}
@ -68,11 +68,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
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 {} \;
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -106,7 +106,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /usr/share/gtk-doc/html/libgtop html
ln -s /usr/share/gtk-doc/html/libgtop html
)
mkdir -p $PKG/install