diff options
| author | David Höppner | 2009-10-10 20:54:17 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-12 23:21:04 +0100 |
| commit | e3999b6a15814094ffd03d63ea003254c8805ca9 (patch) | |
| tree | bf37f6291c44c9cd6f793c0fa8074611a6328f54 /Library/Formula | |
| parent | 9504010c5315c01e6896fe8c38506e0f7d96552e (diff) | |
| download | homebrew-e3999b6a15814094ffd03d63ea003254c8805ca9.tar.bz2 | |
Darwinbuild formula
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/darwinbuild.rb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Library/Formula/darwinbuild.rb b/Library/Formula/darwinbuild.rb new file mode 100644 index 000000000..08db081af --- /dev/null +++ b/Library/Formula/darwinbuild.rb @@ -0,0 +1,38 @@ +require 'brewkit' + +class Darwinbuild <Formula + head 'http://svn.macosforge.org/repository/darwinbuild/trunk/' + homepage 'http://darwinbuild.macosforge.org/' + + def patches + DATA + end + + def install + ENV.no_optimization + system "make install PREFIX=#{prefix}" + end + + def download_strategy + SubversionDownloadStrategy + end +end + +__END__ +diff --git a/common.mk b/common.mk +index 424109b..56fad54 100644 +--- a/common.mk ++++ b/common.mk +@@ -15,9 +15,9 @@ BINDIR=$(DESTDIR)$(PREFIX)/bin + DATDIR=$(DESTDIR)$(PREFIX)/share + INCDIR=$(DESTDIR)$(PREFIX)/include + INSTALL=install +-INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel ++INSTALL_EXE_FLAGS=-m 0755 + INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS) +-INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel ++INSTALL_DOC_FLAGS=-m 0644 + + SED=/usr/bin/sed + + |
