21 lines
537 B
Bash
21 lines
537 B
Bash
|
# Template file for 'mon'
|
||
|
pkgname=mon
|
||
|
version=1.2.3
|
||
|
revision=1
|
||
|
build_style=gnu-makefile
|
||
|
short_desc="Simple single-process process monitoring program written in C"
|
||
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/tj/mon"
|
||
|
distfiles="https://github.com/tj/mon/archive/${version}.tar.gz"
|
||
|
checksum=978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac
|
||
|
|
||
|
CFLAGS="-Ideps -std=c99 -D_GNU_SOURCE"
|
||
|
|
||
|
do_install() {
|
||
|
vbin mon
|
||
|
vsconf example/on_error.sh
|
||
|
vsconf example/program.sh
|
||
|
vdoc Readme.md
|
||
|
}
|