aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gettext.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/gettext.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
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
Diffstat (limited to 'Library/Formula/gettext.rb')
-rw-r--r--Library/Formula/gettext.rb27
1 files changed, 10 insertions, 17 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb
index 3366711ee..808a90c9c 100644
--- a/Library/Formula/gettext.rb
+++ b/Library/Formula/gettext.rb
@@ -1,34 +1,27 @@
require 'formula'
class Gettext <Formula
- @url='http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz'
- @md5='58a2bc6d39c0ba57823034d55d65d606'
- @homepage='http://www.gnu.org/software/gettext/'
+ url 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz'
+ md5 '58a2bc6d39c0ba57823034d55d65d606'
+ homepage 'http://www.gnu.org/software/gettext/'
def patches
'http://gist.github.com/raw/186336/2fe65fab894f94a03aab2f03349ae7f1febcd301/mac-osx-105-environ.patch'
end
- def keg_only?
- "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
- end
+ keg_only "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
def install
ENV.libxml2
ENV.O3 # Issues with LLVM & O4 on Mac Pro 10.6
- # TODO seems like this package needs more optmisation
- # maybe someone can tell me how glib depends on gettext, but gettext
- # depends on glib and thus includes its own?!
- system "./configure", "--disable-debug",
+ system "./configure", "--disable-dependency-tracking", "--disable-debug",
"--prefix=#{prefix}",
- "--disable-dependency-tracking",
- # '--disable-nls ',
- '--without-emacs',
- '--without-included-gettext',
- '--without-included-glib',
- '--without-included-libcroco',
- '--without-included-libxml'
+ "--without-emacs",
+ "--without-included-gettext",
+ "--without-included-glib",
+ "--without-included-libcroco",
+ "--without-included-libxml"
system "make"
ENV.deparallelize # install doesn't support multiple make jobs
system "make install"