void-packages/srcpkgs/daemonize/template
2021-04-11 00:02:24 -03:00

20 lines
634 B
Bash

# Template file for 'daemonize'
pkgname=daemonize
version=1.7.8
revision=2
wrksrc="$pkgname-release-$version"
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-3-Clause, MIT, Public Domain"
homepage="http://software.clapper.org/daemonize/daemonize.html"
distfiles="https://github.com/bmc/$pkgname/archive/release-$version.tar.gz"
checksum=20c4fc9925371d1ddf1b57947f8fb93e2036eb9ccc3b43a1e3678ea8471c4c60
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
vlicense LICENSE.md
}