wok-current view dmidecode/receipt @ rev 25154
updated proxychains-ng (4.14 -> 4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:28:13 2022 +0100 (2022-06-30) |
parents | 17091bc7c301 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="dmidecode"
4 VERSION="3.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="SMBIOS/DMI reports."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/dmidecode/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' Makefile
28 make &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/sbin
36 cp -a $install/usr/local/sbin/* $fs/usr/sbin
37 }