pkg:setup cd "runit-#{version}" echo 'cc -Xlinker -x' >src/conf-ld inreplace "src/Makefile", / -static/, "" inreplace "src/sv.c", "char *varservice =\"/service/\";", "char *varservice =\"#{var}/service/\";" package/compile rcmds = File.read("package/commands") rcmds.split("\n").each do |r| bin.install("command/#{r.chomp}") man8.install("man/#{r.chomp}.8")