rev |
line source |
pankso@13503
|
1 # SliTaz package receipt.
|
pankso@13503
|
2
|
pankso@13503
|
3 PACKAGE="libstatgrab"
|
pankso@13503
|
4 VERSION="0.17"
|
pankso@13503
|
5 CATEGORY="system-tools"
|
pankso@13503
|
6 SHORT_DESC="Provides statistics about the system on which it's run."
|
pankso@13503
|
7 MAINTAINER="pankso@slitaz.org"
|
pascal@14718
|
8 LICENSE="GPL2"
|
pankso@13503
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pankso@13503
|
10 WEB_SITE="http://www.i-scream.org/libstatgrab/"
|
pankso@13503
|
11 WGET_URL="http://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$TARBALL"
|
pankso@13503
|
12
|
pankso@13503
|
13 DEPENDS="ncursesw"
|
pankso@13503
|
14 BUILD_DEPENDS="ncursesw-dev"
|
pankso@13503
|
15
|
pankso@13503
|
16 # Rules to configure and make the package.
|
pankso@13503
|
17 compile_rules()
|
pankso@13503
|
18 {
|
pankso@13503
|
19 cd $src
|
pankso@13503
|
20 ./configure &&
|
pankso@13503
|
21 make && make install
|
pankso@13503
|
22 }
|
pankso@13503
|
23
|
pankso@13503
|
24 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@13503
|
25 genpkg_rules()
|
pankso@13503
|
26 {
|
pankso@13503
|
27 mkdir -p $fs/usr/lib
|
pankso@13503
|
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
pankso@13503
|
29 cp -a $install/usr/bin $fs/usr
|
pankso@13503
|
30 }
|