Commit graph

16 commits

Author SHA1 Message Date
Jack Nagel
4168b7c070 dos2unix: specify Homebrew's CC, CPP, and CFLAGS
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-04 20:57:19 -06:00
Jack Nagel
689146ef9f dos2unix: use new homepage
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08 17:56:42 -05:00
Justin Hahn
be89af9de0 dos2unix 5.3.1
This change upgrades dos2unix to release 5.3.1, eliminating the now
duplicate unix2dos formula. This also introduces optional NLS support
for dos2unix through the --enable-nls option.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08 17:48:38 -05:00
Sebastian Staudt
afd8708445 Updated to dos2unix 3.2
The source for dos2unix 3.1 wasn't available anymore. I switched to this
slightly updated version. There are already newer versions on SourceForge,
but I wanted to make it work again first.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-11 07:11:22 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
620317ca6d Update formulae to use ENV.cflags 2010-08-10 08:30:19 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
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