void-packages/srcpkgs/cv/template

21 lines
498 B
Text
Raw Normal View History

2014-07-12 15:22:16 +00:00
# Template file for 'cv'
pkgname=cv
2014-09-02 13:30:36 +00:00
version=0.5.1
2014-07-30 00:38:32 +00:00
revision=1
2014-07-12 15:22:16 +00:00
maintainer="Dominik Honnef <dominik@honnef.co>"
2014-07-30 00:38:32 +00:00
makedepends="ncurses-devel"
2014-07-12 15:22:16 +00:00
license="GPL-3"
homepage="https://github.com/Xfennec/cv"
short_desc="coreutils viewer"
distfiles="https://github.com/Xfennec/cv/archive/v${version}.tar.gz"
2014-09-02 13:30:36 +00:00
checksum=d390a26a8db78366be8dfee93819135a106610ba7e3f6d94515c84d5803195d4
2014-07-12 15:22:16 +00:00
do_build() {
2014-07-30 00:38:32 +00:00
$CC $CFLAGS -D_FILE_OFFSET_BITS=64 cv.c sizes.c hlist.c -o cv -lncurses -lm
2014-07-12 15:22:16 +00:00
}
do_install() {
vbin cv
2014-09-02 13:30:36 +00:00
vman cv.1
2014-07-12 15:22:16 +00:00
}