wok view libgtop/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents 6831608a1b2a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgtop"
4 VERSION="2.40.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Gnome library for system monitoring."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnome.org"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 SUGGESTED="libgtop-lang"
15 DEPENDS="gcc83-lib-base glib"
16 BUILD_DEPENDS="gcc83 glib-dev intltool"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|uname -m|echo i486|' \
28 src/Makefile* \
29 src/daemon/Makefile*
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 sed -i -e 's|chown root |chown root $(DESTDIR)|' \
37 -e 's|chmod 4755 |chmod 4755 $(DESTDIR)|' \
38 src/daemon/Makefile &&
39 make &&
40 make install DESTDIR=$DESTDIR
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_files *.so*
47 }