Skip to content

Commit

Permalink
vmalloc 2013-05-31
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Dec 10, 2014
1 parent eafe7d7 commit 6d17e32
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Formula/vmalloc.rb
@@ -1,17 +1,17 @@
require 'formula'
require "formula"

class Vmalloc < Formula
homepage 'http://www2.research.att.com/sw/download/'
url 'http://www2.research.att.com/~gsf/download/tgz/vmalloc.2005-02-01.tgz',
homepage "http://www2.research.att.com/sw/download/"
url "http://www2.research.att.com/~astopen/download/tgz/vmalloc.2013-05-31.tgz",
:using => AttResearchDownloadStrategy
sha1 '13e45960831226b2b2ac93cdbe23d1d4c6e7eb38'
version '2005-02-01'
sha1 "c656a820503c2f6e7ec19d6b42f2fa0fcefc33b0"
version "2013-05-31"

def install
# Vmalloc makefile does not work in parallel mode
ENV.deparallelize
# override Vmalloc makefile flags
inreplace Dir['src/**/Makefile'] do |s|
inreplace Dir["src/**/Makefile"] do |s|
s.change_make_var! "CC", ENV.cc
s.change_make_var! "CXFLAGS", ENV.cflags
s.change_make_var! "CCMODE", ""
Expand All @@ -20,9 +20,9 @@ def install
system "/bin/sh ./Runmake"
# install manually
# put all includes into a directory of their own
(include + "vmalloc").install Dir['include/*.h']
lib.install Dir['lib/*.a']
man.install 'man/man3'
(include + "vmalloc").install Dir["include/*.h"]
lib.install Dir["lib/*.a"]
man.install "man/man3"
end

def caveats; <<-EOS.undent
Expand Down

0 comments on commit 6d17e32

Please sign in to comment.