mon: use LDFLAGS.
This commit is contained in:
parent
1087f3f77d
commit
278036bc4e
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mon'
|
||||
pkgname=mon
|
||||
version=1.2.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Simple single-process process monitoring program written in C"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
|
@ -12,6 +12,9 @@ checksum=978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac
|
|||
|
||||
CFLAGS="-Ideps -std=c99 -D_GNU_SOURCE"
|
||||
|
||||
post_extract() {
|
||||
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile
|
||||
}
|
||||
do_install() {
|
||||
vbin mon
|
||||
vsconf example/on_error.sh
|
||||
|
|
Loading…
Reference in New Issue