wok-current annotate libstatgrab/receipt @ rev 17715
aspell, libstatgrab, reiser4progs: add -ltinfo in LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 08:50:37 2015 +0100 (2015-03-05) |
parents | 088cda923570 |
children | 40d66aabe862 |
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 { |
pascal@17715 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pankso@13503 | 20 ./configure && |
pascal@14721 | 21 make && make -j 1 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 } |