runit: use version attr

This commit is contained in:
Jack Nagel 2013-04-18 01:45:51 -05:00
parent 238c15c29d
commit abd5ae552e

View file

@ -7,7 +7,7 @@ class Runit < Formula
def install
# Runit untars to 'admin/runit-VERSION'
cd "runit-2.1.1" do
cd "runit-#{version}" do
# Per the installation doc on OS X, we need to make a couple changes.
system "echo 'cc -Xlinker -x' >src/conf-ld"
inreplace 'src/Makefile', / -static/, ''