wok-next annotate cv/receipt @ rev 17670

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents 3368aeacdb39
children c7c3567bd8d4
rev   line source
pascal@16978 1 # SliTaz package receipt.
pascal@16978 2
pascal@16978 3 PACKAGE="cv"
pascal@16978 4 VERSION="0.4.1"
pascal@16978 5 CATEGORY="system-tools"
pascal@16978 6 SHORT_DESC="Linux tool to show progress for cp, rm, dd, ..."
pascal@16978 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16978 8 LICENSE="GPL3"
pascal@16978 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16978 10 WEB_SITE="https://github.com/Xfennec/cv"
pascal@16978 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@16978 12
pascal@16978 13 DEPENDS="ncurses"
pascal@16978 14 BUILD_DEPENDS="wget ncurses-dev"
pascal@16978 15
pascal@16978 16 # Rules to configure and make the package.
pascal@16978 17 compile_rules()
pascal@16978 18 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@16978 20 sed -i 's|/local||' Makefile
pascal@16978 21 make && make DESTDIR=$DESTDIR install
pascal@16978 22 }
pascal@16978 23
pascal@16978 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16978 25 genpkg_rules()
pascal@16978 26 {
pascal@16978 27 cp -a $install/* $fs/
pascal@16978 28 }