void-packages/srcpkgs/daemonize/template

21 lines
663 B
Bash

# Template file for 'daemonize'
pkgname=daemonize
version=1.7.7
revision=2
build_style=gnu-configure
make_install_args="INSTALL_SBIN=/usr/bin"
short_desc="Run a program as a Unix daemon"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="BSD, MIT, Public Domain"
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
}