wok annotate sysfsutils/receipt @ rev 24237

updated perl-maketext-gettext (1.26 -> 1.32)
author Hans-G?nter Theisgen
date Sun Jan 02 07:13:31 2022 +0100 (2022-01-02)
parents 8e449fe1df2e
children 65ff25c4de90
rev   line source
pankso@31 1 # SliTaz package receipt.
pankso@31 2
pankso@31 3 PACKAGE="sysfsutils"
pankso@31 4 VERSION="2.1.0"
pankso@202 5 CATEGORY="system-tools"
erkan@20325 6 SHORT_DESC="Utilities built upon sysfs."
pankso@31 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2 LGPL2.1"
pankso@31 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@31 10 WEB_SITE="http://linux-diag.sourceforge.net/Sysfsutils.html"
pankso@31 11 WGET_URL="$SF_MIRROR/linux-diag/$TARBALL"
pankso@31 12
pascal@15616 13 DEPENDS="linux"
pascal@15616 14
pascal@24071 15 current_version()
pascal@24071 16 {
pascal@24071 17 wget -O - https://sourceforge.net/projects/linux-diag/files/sysfsutils/ 2>/dev/null | \
pascal@24071 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 20 }
pascal@24071 21
pankso@31 22 # Rules to configure and make the package.
pankso@31 23 compile_rules()
pankso@31 24 {
pankso@31 25 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@31 26 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@31 27 make
pascal@15579 28 make DESTDIR=$DESTDIR install
pankso@31 29 }
pankso@31 30
pankso@31 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@31 32 genpkg_rules()
pankso@31 33 {
pankso@31 34 mkdir -p $fs/usr/lib
pascal@15579 35 cp -a $install/usr/bin $fs/usr
pascal@15579 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@31 37 }