mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
runit: add static option.
This commit is contained in:
parent
a61dc50a38
commit
68e0328f83
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit'
|
# Template file for 'runit'
|
||||||
pkgname=runit
|
pkgname=runit
|
||||||
version=2.1.2
|
version=2.1.2
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="admin"
|
wrksrc="admin"
|
||||||
short_desc="A UNIX init scheme with service supervision"
|
short_desc="A UNIX init scheme with service supervision"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -11,6 +11,12 @@ update_site="${homepage}install.html"
|
||||||
distfiles="http://smarden.org/runit/runit-$version.tar.gz"
|
distfiles="http://smarden.org/runit/runit-$version.tar.gz"
|
||||||
checksum=6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18
|
checksum=6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18
|
||||||
|
|
||||||
|
build_options="static"
|
||||||
|
if [ "$build_option_static" ]; then
|
||||||
|
CFLAGS+=" -static"
|
||||||
|
LDFLAGS+=" -static"
|
||||||
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${pkgname}-${version}/src
|
cd ${pkgname}-${version}/src
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue