python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / mon / template
blob4ab9fc3bd8e210a10e4d00aa37930551a82077c2
1 # Template file for 'mon'
2 pkgname=mon
3 version=1.2.3
4 revision=2
5 build_style=gnu-makefile
6 short_desc="Simple single-process process monitoring program written in C"
7 maintainer="Diogo Leal <diogo@diogoleal.com>"
8 license="MIT"
9 homepage="https://github.com/tj/mon"
10 distfiles="https://github.com/tj/mon/archive/${version}.tar.gz"
11 checksum=978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac
13 CFLAGS="-Ideps -std=c99 -D_GNU_SOURCE"
15 post_extract() {
16         sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
18 do_install() {
19         vbin mon
20         vsconf example/on_error.sh
21         vsconf example/program.sh
22         vdoc Readme.md