wok-next view libstatgrab/receipt @ rev 18924

glibc: fix build (thanks az_ua)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 14:47:17 2016 +0200 (2016-02-25)
parents 088cda923570
children 6c12ac1293fc
line source
1 # SliTaz package receipt.
3 PACKAGE="libstatgrab"
4 VERSION="0.17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Provides statistics about the system on which it's run."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.i-scream.org/libstatgrab/"
11 WGET_URL="http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure &&
21 make && make -j 1 install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 }