wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="cv"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux tool to show progress for cp, rm, dd, ..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/Xfennec/cv"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="wget ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs/
27 }