wok-current annotate sysfsutils/receipt @ rev 25724
Up audacity to 3.0.2, fix openssh/wxWidgets build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 25 14:51:14 2024 +0000 (7 months ago) |
parents | ee53899c6189 |
children | 5926178cd6fa |
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" |
pascal@25465 | 10 WEB_SITE="https://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@25465 | 15 # What is the latest version available today? |
pascal@24071 | 16 current_version() |
pascal@24071 | 17 { |
pascal@24071 | 18 wget -O - https://sourceforge.net/projects/linux-diag/files/sysfsutils/ 2>/dev/null | \ |
pascal@24071 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 21 } |
pascal@24071 | 22 |
pankso@31 | 23 # Rules to configure and make the package. |
pankso@31 | 24 compile_rules() |
pankso@31 | 25 { |
pankso@31 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@31 | 27 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@31 | 28 make |
pascal@15579 | 29 make DESTDIR=$DESTDIR install |
pankso@31 | 30 } |
pankso@31 | 31 |
pankso@31 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@31 | 33 genpkg_rules() |
pankso@31 | 34 { |
pankso@31 | 35 mkdir -p $fs/usr/lib |
pascal@15579 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@31 | 38 } |