wok-6.x view libstatgrab/receipt @ rev 21342
cherokee fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 15:26:18 2019 +0200 (2019-04-20) |
parents | 6e8b1bcb30e2 |
children | ec8f0890911f |
line source
1 # SliTaz package receipt.
3 PACKAGE="libstatgrab"
4 VERSION="0.91"
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"
21 ./configure &&
22 make -j 1 &&
23 make -j 1 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 }