Tokyo cabinet and tokio-dystopia

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jose Peleteiro 2010-02-21 18:07:53 -03:00 committed by Adam Vandenberg
parent bc76d7bd91
commit 6acac33c44
2 changed files with 17 additions and 2 deletions

View file

@ -1,9 +1,9 @@
require 'formula'
class TokyoCabinet <Formula
url 'http://1978th.net/tokyocabinet/tokyocabinet-1.4.35.tar.gz'
url 'http://1978th.net/tokyocabinet/tokyocabinet-1.4.42.tar.gz'
homepage 'http://1978th.net/tokyocabinet'
sha1 '3c97e96d3b304121ec0d4eaf5000bf6cc6b727e6'
sha1 'e46da0ef614f821b57564639cf15388df1c39fb5'
def install
system "./configure", "--prefix=#{prefix}", "--enable-fastest",

15
Formula/tokyo-dystopia.rb Normal file
View file

@ -0,0 +1,15 @@
require 'formula'
class TokyoDystopia <Formula
url 'http://1978th.net/tokyodystopia/tokyodystopia-0.9.13.tar.gz'
homepage 'http://1978th.net/tokyodystopia/'
sha1 '073b2edd6a74e2ae1bbdc7faea42a8a219bdf169'
depends_on 'tokyo-cabinet'
def install
system "./configure", "--prefix=#{prefix}", "--libdir=#{lib}", "--includedir=#{include}"
system "make"
system "make install"
end
end