wok-6.x diff libgtop/receipt @ rev 24953

updated nagvis and nagvis-doc (1.9.18 -> 1.9.31)
author Hans-G?nter Theisgen
date Sat Apr 23 15:05:31 2022 +0100 (2022-04-23)
parents 6831608a1b2a
children
line diff
     1.1 --- a/libgtop/receipt	Tue Sep 28 17:26:43 2021 +0000
     1.2 +++ b/libgtop/receipt	Sat Apr 23 15:05:31 2022 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgtop"
     1.7 -VERSION="2.28.4"
     1.8 +VERSION="2.40.0"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Librairies for GNOME"
    1.11 +SHORT_DESC="Gnome library for system monitoring."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.gnome.org"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="https://www.gnome.org"
    1.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20  
    1.21 -DEPENDS="glib"
    1.22 -BUILD_DEPENDS="glib-dev intltool"
    1.23 +SUGGESTED="libgtop-lang"
    1.24 +DEPENDS="gcc83-lib-base glib"
    1.25 +BUILD_DEPENDS="gcc83 glib-dev intltool"
    1.26  
    1.27  current_version()
    1.28  {
    1.29 @@ -22,16 +24,24 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	sed -i 's|uname -m|echo i486|' src/Makefile* src/daemon/Makefile*
    1.34 -	./configure \
    1.35 -		--prefix=/usr \
    1.36 +	sed -i 's|uname -m|echo i486|'	\
    1.37 +		src/Makefile*		\
    1.38 +		src/daemon/Makefile*
    1.39 +
    1.40 +	./configure		\
    1.41 +		CC=gcc-83	\
    1.42 +		CXX=g++-83	\
    1.43 +		--prefix=/usr	\
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make && make install
    1.46 +	sed -i	-e 's|chown root |chown root $(DESTDIR)|'	\
    1.47 +		-e 's|chmod 4755 |chmod 4755 $(DESTDIR)|'	\
    1.48 +		src/daemon/Makefile &&
    1.49 +	make &&
    1.50 +	make install DESTDIR=$DESTDIR
    1.51  }
    1.52  
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56 -	mkdir -p $fs/usr/lib
    1.57 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.58 +	cook_copy_files	*.so*
    1.59  }