wok view libstatgrab/receipt @ rev 24978

Add memtest-efi32 & memtest-efi64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 11:09:47 2022 +0000 (24 months ago)
parents 99a2dc705199
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="libstatgrab"
4 VERSION="0.92.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Provides statistics about the system on which it is run."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.i-scream.org/libstatgrab/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="file ncursesw-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_files *.so*
39 }