61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
360 B
Ruby
12 lines
360 B
Ruby
require 'formula'
|
|
|
|
class Mcrypt <Formula
|
|
@url='ftp://mirror.internode.on.net/pub/gentoo/distfiles/libmcrypt-2.5.8.tar.gz'
|
|
@homepage='http://mcrypt.sourceforge.net'
|
|
@md5='0821830d930a86a5c69110837c55b7da'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|