Max Howell
61b2307139
s/require 'brewkit'/require 'formula'/g
...
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.
2009-10-15 16:48:03 +01:00
Clinton R. Nixon
d9ff92599c
Added small DSL for formulas
...
You can now use "url", "version", "homepage", and any checksums as
class methods, like so:
class Dos2unix <Formula
url 'http://www.sfr-fresh.com/linux/misc/old/dos2unix-3.1.tar.gz '
md5 '25ff56bab202de63ea6f6c211c416e96'
homepage 'http://www.sfr-fresh.com/linux/misc/ '
end
The previous usage ("@url = 'http://example.com/tarball.tgz '") still
works, maintaining compatibility with previous formulas.
"dos2unix.rb" is translated into the new format as an example.
2009-09-23 14:51:11 -04:00
Max Howell
a4052a9b7c
ENV.cc; returns the compiler we use
2009-09-21 23:50:57 +01:00
Adam Vandenberg
655370f37f
Don't hardcode 'gcc' in manual formulas.
2009-09-21 13:06:21 -07:00
Adeel Ahmad Khan
76181ad926
Updated dos2unix download URL.
...
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12 05:41:04 +08:00
Max Howell
99ecbb09a2
Use our CFLAGS for dos2unix
2009-07-31 01:29:00 +01:00
Max Howell
3394cc7d88
Fix issues with Pathname.install and arrays
2009-07-23 01:14:22 +01:00
Max Howell
3ecaf72273
Rename mv_from to install
2009-06-15 00:55:18 +01:00
Max Howell
f207933a60
dos2unix formula
2009-06-08 16:00:25 +01:00