wok-current view libstatgrab/receipt @ rev 23994

linld: no initrd fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 15 08:41:50 2020 +0000 (2020-12-15)
parents 62c8b10473cc
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="libstatgrab"
4 VERSION="0.92"
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.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="file ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
22 ./configure &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 }