diff options
| author | Vincent Landgraf | 2009-12-20 23:42:33 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 09:47:15 -0700 |
| commit | 6a18d730cab788174e829ee9d98259efa38218ae (patch) | |
| tree | 20d2c432e917b880d6a9e12e8be6587cbe55fda4 /Library/Formula | |
| parent | 64638516a683621ffe311551ddea82fe17b622e4 (diff) | |
| download | homebrew-6a18d730cab788174e829ee9d98259efa38218ae.tar.bz2 | |
Add libmagic, a depedency for gmediaserver
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libmagic.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb new file mode 100644 index 000000000..05cb11e99 --- /dev/null +++ b/Library/Formula/libmagic.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Libmagic < Formula + url 'ftp://ftp.astron.com/pub/file/file-5.03.tar.gz' + homepage 'http://www.darwinsys.com/file/' + md5 'd05f08a53e5c2f51f8ee6a4758c0cc53' + + def keg_only? + "This brew provides 'libmagic', but also installs a 'file' command which shadows the OS X-provided one." + end + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make" + ENV.j1 # Remove some warnings during install + system "make install" + end +end |
