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