daemonize: pass LDFLAGS, install license.

This commit is contained in:
Christian Neukirchen 2016-05-25 13:20:51 +02:00
parent c048d781b0
commit 10cb4bf4e1

View file

@ -1,7 +1,7 @@
# Template file for 'daemonize'
pkgname=daemonize
version=1.7.7
revision=1
revision=2
build_style=gnu-configure
make_install_args="INSTALL_SBIN=/usr/bin"
short_desc="Run a program as a Unix daemon"
@ -11,3 +11,10 @@ homepage="http://software.clapper.org/daemonize/daemonize.html"
distfiles="https://github.com/bmc/$pkgname/archive/release-$version.tar.gz"
checksum=b3cafea3244ed5015a3691456644386fc438102adbdc305af553928a185bea05
wrksrc="$pkgname-release-$version"
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
vlicense LICENSE.md
}