wok annotate i7z/receipt @ rev 18179

Apache: fix init script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 05 12:26:54 2015 +0200 (2015-07-05)
parents 9736e603f8a1
children 8dd8bab3f0ca
rev   line source
pascal@16327 1 # SliTaz package receipt.
pascal@16327 2
pascal@16327 3 PACKAGE="i7z"
pascal@16327 4 VERSION="0.27.2"
pascal@16327 5 CATEGORY="misc"
pascal@16327 6 SHORT_DESC="A better i7 (and now i3, i5) reporting tool for Linux."
pascal@16327 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16327 8 LICENSE="GPL2"
pascal@16327 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16327 10 WEB_SITE="https://code.google.com/p/i7z/"
pascal@16327 11 WGET_URL="https://i7z.googlecode.com/files/$TARBALL"
pascal@16327 12
pascal@16327 13 DEPENDS="ncurses"
pascal@16327 14 BUILD_DEPENDS="wget ncurses-dev"
pascal@16327 15
pascal@16327 16 # Rules to configure and make the package.
pascal@16327 17 compile_rules()
pascal@16327 18 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@16327 20 make &&
pascal@16327 21 make DESTDIR=$DESTDIR install
pascal@16327 22 }
pascal@16327 23
pascal@16327 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16327 25 genpkg_rules()
pascal@16327 26 {
pascal@16327 27 mkdir $fs/usr
pascal@16327 28 cp -a $install/usr/sbin $fs/usr
pascal@16327 29 }