runit: fix path to the runit cmd, sigh.

This commit is contained in:
Juan RP 2014-04-27 01:56:38 +02:00
parent 50c851baff
commit b76d29be73
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'runit'
pkgname=runit
version=2.1.1
revision=1
revision=2
wrksrc="admin"
short_desc="A UNIX init scheme with service supervision"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -13,6 +13,8 @@ checksum=ffcf2d27b32f59ac14f2d4b0772a3eb80d9342685a2042b7fbbc472c07cf2a2c
do_build() {
cd ${pkgname}-${version}/src
sed -e 's,sbin/runit,usr/bin/runit,g' -i runit.h
echo "$CC -D_GNU_SOURCE $CFLAGS" >conf-cc
echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >conf-ld
# set default service path to /var/service