void-packages/srcpkgs/daemonize/template

21 lines
625 B
Bash

# Template file for 'daemonize'
pkgname=daemonize
version=1.7.8
revision=1
build_style=gnu-configure
make_install_args="INSTALL_SBIN=/usr/bin"
short_desc="Run a program as a Unix daemon"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
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=20c4fc9925371d1ddf1b57947f8fb93e2036eb9ccc3b43a1e3678ea8471c4c60
wrksrc="$pkgname-release-$version"
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
vlicense LICENSE.md
}