vmalloc 2013-05-31
This commit is contained in:
parent
eafe7d763b
commit
6d17e32d4c
1 changed files with 9 additions and 9 deletions
|
@ -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", ""
|
||||
|
@ -20,9 +20,9 @@ class Vmalloc < Formula
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue