wok annotate libgtop/receipt @ rev 24652

updated i3 and i3-man (4.19.2 -> 4.20.1)
author Hans-G?nter Theisgen
date Fri Mar 11 06:27:26 2022 +0100 (2022-03-11)
parents 6e8b1bcb30e2
children 2185de1303cc
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libgtop"
pascal@11205 4 VERSION="2.28.4"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="Librairies for GNOME"
pascal@11205 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pascal@11205 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20671 10 WEB_SITE="https://www.gnome.org"
pascal@11205 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14714 12
gokhlayeh@11481 13 DEPENDS="glib"
pascal@12583 14 BUILD_DEPENDS="glib-dev intltool"
pascal@11205 15
pascal@24111 16 current_version()
pascal@24111 17 {
pascal@24111 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 20 }
pascal@24111 21
pascal@11205 22 # Rules to configure and make the package.
pascal@11205 23 compile_rules()
pascal@11205 24 {
pascal@20214 25 sed -i 's|uname -m|echo i486|' src/Makefile* src/daemon/Makefile*
pascal@11205 26 ./configure \
pascal@11205 27 --prefix=/usr \
pascal@11205 28 $CONFIGURE_ARGS &&
pascal@11205 29 make && make install
pascal@11205 30 }
pascal@11205 31
pascal@11205 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 33 genpkg_rules()
pascal@11205 34 {
pascal@11205 35 mkdir -p $fs/usr/lib
pascal@14714 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11205 37 }