Receipt for package "libgtop"
# SliTaz package receipt. PACKAGE="libgtop" VERSION="2.40.0" CATEGORY="x-window" SHORT_DESC="Gnome library for system monitoring." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.gnome.org" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" SUGGESTED="libgtop-lang" DEPENDS="glib" BUILD_DEPENDS="glib-dev intltool" HOST_ARCH="i486 x86_64" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { case $SLITAZ_ARCH in i?86) cpu=i486 ;; x86_64) cpu=x86_64 ;; esac sed -i 's|uname -m|echo $cpu|' \ src/Makefile* \ src/daemon/Makefile* ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && sed -i -e 's|chown root |chown root $(DESTDIR)|' \ -e 's|chmod 4755 |chmod 4755 $(DESTDIR)|' \ src/daemon/Makefile && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)