wok-current rev 24795
updated libgtop and libgtop-dev (2.28.4 -> 2.40.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 16:57:58 2022 +0100 (2022-03-21) |
parents | 25f321eee88e |
children | 16df716d02af |
files | libgtop-dev/receipt libgtop-lang/receipt libgtop/description.txt libgtop/receipt |
line diff
1.1 --- a/libgtop-dev/receipt Mon Mar 21 15:36:41 2022 +0000 1.2 +++ b/libgtop-dev/receipt Mon Mar 21 16:57:58 2022 +0100 1.3 @@ -1,21 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libgtop-dev" 1.7 -VERSION="2.28.4" 1.8 +VERSION="2.40.0" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Librairies for GNOME" 1.11 +SHORT_DESC="Gnome library for system monitoring - development files." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://www.gnome.org" 1.15 1.16 +DEPENDS="libgtop pkg-config" 1.17 WANTED="libgtop" 1.18 -DEPENDS="libgtop pkg-config" 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 - mkdir -p $fs/usr/lib 1.24 - cp -a $install/usr/include $fs/usr 1.25 - cp -a $install/usr/lib/*a $fs/usr/lib 1.26 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.27 + get_dev_files 1.28 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libgtop-lang/receipt Mon Mar 21 16:57:58 2022 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libgtop-lang" 2.7 +VERSION="2.40.0" 2.8 +CATEGORY="localization" 2.9 +SHORT_DESC="Gnome library for system monitoring - localised messages." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +WEB_SITE="https://www.gnome.org" 2.13 + 2.14 +WANTED="libgtop" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + cook_copy_folders locale 2.20 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libgtop/description.txt Mon Mar 21 16:57:58 2022 +0100 3.3 @@ -0,0 +1,6 @@ 3.4 +LibGTop is a library to get system specific data such as CPU and 3.5 +Memory Usage and information about running Processes. 3.6 +Even if LibGTop is a part of the GNOME desktop environment, the 3.7 +main interface of LibGTop is totally independent from any particular 3.8 +desktop environment, so you can also use it as a standalone library 3.9 +in any piece of GPLed software.
4.1 --- a/libgtop/receipt Mon Mar 21 15:36:41 2022 +0000 4.2 +++ b/libgtop/receipt Mon Mar 21 16:57:58 2022 +0100 4.3 @@ -1,17 +1,19 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="libgtop" 4.7 -VERSION="2.28.4" 4.8 +VERSION="2.40.0" 4.9 CATEGORY="x-window" 4.10 -SHORT_DESC="Librairies for GNOME" 4.11 +SHORT_DESC="Gnome library for system monitoring." 4.12 MAINTAINER="pascal.bellard@slitaz.org" 4.13 LICENSE="GPL2" 4.14 +WEB_SITE="https://www.gnome.org" 4.15 + 4.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 4.17 -WEB_SITE="https://www.gnome.org" 4.18 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 4.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 4.20 4.21 -DEPENDS="glib" 4.22 -BUILD_DEPENDS="glib-dev intltool" 4.23 +SUGGESTED="libgtop-lang" 4.24 +DEPENDS="gcc83-lib-base glib" 4.25 +BUILD_DEPENDS="gcc83 glib-dev intltool" 4.26 4.27 current_version() 4.28 { 4.29 @@ -22,16 +24,24 @@ 4.30 # Rules to configure and make the package. 4.31 compile_rules() 4.32 { 4.33 - sed -i 's|uname -m|echo i486|' src/Makefile* src/daemon/Makefile* 4.34 - ./configure \ 4.35 - --prefix=/usr \ 4.36 + sed -i 's|uname -m|echo i486|' \ 4.37 + src/Makefile* \ 4.38 + src/daemon/Makefile* 4.39 + 4.40 + ./configure \ 4.41 + CC=gcc-83 \ 4.42 + CXX=g++-83 \ 4.43 + --prefix=/usr \ 4.44 $CONFIGURE_ARGS && 4.45 - make && make install 4.46 + sed -i -e 's|chown root |chown root $(DESTDIR)|' \ 4.47 + -e 's|chmod 4755 |chmod 4755 $(DESTDIR)|' \ 4.48 + src/daemon/Makefile && 4.49 + make && 4.50 + make install DESTDIR=$DESTDIR 4.51 } 4.52 4.53 # Rules to gen a SliTaz package suitable for Tazpkg. 4.54 genpkg_rules() 4.55 { 4.56 - mkdir -p $fs/usr/lib 4.57 - cp -a $install/usr/lib/*.so* $fs/usr/lib 4.58 + cook_copy_files *.so* 4.59 }