wok annotate i7z/receipt @ rev 21399

mana, newsbeuter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 19:45:31 2019 +0200 (2019-04-22)
parents 17e313b5b9c1
children 45ad031ff730
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@20672 10 WEB_SITE="https://github.com/ajaiantilal/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 }