runit: add static option.
This commit is contained in:
parent
a61dc50a38
commit
68e0328f83
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'runit'
|
||||
pkgname=runit
|
||||
version=2.1.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="admin"
|
||||
short_desc="A UNIX init scheme with service supervision"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -11,6 +11,12 @@ update_site="${homepage}install.html"
|
|||
distfiles="http://smarden.org/runit/runit-$version.tar.gz"
|
||||
checksum=6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18
|
||||
|
||||
build_options="static"
|
||||
if [ "$build_option_static" ]; then
|
||||
CFLAGS+=" -static"
|
||||
LDFLAGS+=" -static"
|
||||
fi
|
||||
|
||||
do_build() {
|
||||
cd ${pkgname}-${version}/src
|
||||
|
||||
|
|
Loading…
Reference in New Issue