1 # Template file for 'mon'
5 build_style=gnu-makefile
6 short_desc="Simple single-process process monitoring program written in C"
7 maintainer="Diogo Leal <diogo@diogoleal.com>"
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"
16 sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
20 vsconf example/on_error.sh
21 vsconf example/program.sh