wok-6.x annotate cv/receipt @ rev 19959

slim-theme-control: add compile_rules(); files processing following it.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 20 15:38:00 2017 +0300 (2017-05-20)
parents 17e313b5b9c1
children c59529fd7643
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@17673 19 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile
pascal@16978 20 make && make DESTDIR=$DESTDIR install
pascal@16978 21 }
pascal@16978 22
pascal@16978 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16978 24 genpkg_rules()
pascal@16978 25 {
pascal@16978 26 cp -a $install/* $fs/
pascal@16978 27 }