2015-02-23 23:17:19 +01:00
|
|
|
# Template file for 'sv-helper'
|
|
|
|
pkgname=sv-helper
|
|
|
|
version=1.0.2
|
|
|
|
revision=1
|
|
|
|
depends="bash runit"
|
|
|
|
short_desc="Utilities to help administer a runit-as-pid1 system"
|
|
|
|
maintainer="bougyman <tj@rubyists.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/rubyists/sv-helper"
|
2015-02-25 20:07:38 +01:00
|
|
|
distfiles="https://github.com/rubyists/sv-helper/archive/${version}.tar.gz"
|
2015-02-25 19:56:27 +01:00
|
|
|
checksum=772669ba116c4004c394c7f259b15859a520e36170b35f8b5a4103ed2f69e7d0
|
2015-02-23 23:17:19 +01:00
|
|
|
|
|
|
|
system_accounts="rsvlog"
|
2015-02-25 19:32:54 +01:00
|
|
|
rsvlog_homedir="/var/log"
|
|
|
|
rsvlog_descr="User for logging"
|
2015-02-23 23:17:19 +01:00
|
|
|
|
|
|
|
do_install() {
|
2015-02-25 19:32:54 +01:00
|
|
|
_commands="sv-list svls sv-find sv-enable sv-disable"
|
2015-02-23 23:17:19 +01:00
|
|
|
vbin sv-helper.sh sv-helper
|
|
|
|
vbin rsvlog.sh rsvlog
|
|
|
|
for cmd in $_commands; do
|
|
|
|
ln -s sv-helper $DESTDIR/usr/bin/$cmd
|
|
|
|
done
|
|
|
|
vdoc README.md
|
|
|
|
}
|