forked from Homebrew/legacy-homebrew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/mxcl/homebrew into powerpc
- Loading branch information
Showing
20 changed files
with
248 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
require 'formula' | ||
|
||
class Freeciv < Formula | ||
homepage 'http://freeciv.wikia.com' | ||
url 'http://downloads.sourceforge.net/project/freeciv/Freeciv%202.3/2.3.1/freeciv-2.3.1.tar.bz2' | ||
md5 'efce9b2cd8b7a36017f1ebce59236dcb' | ||
head 'svn://svn.gna.org/svn/freeciv/trunk', :using => :svn | ||
|
||
def options | ||
[['--disable-nls', 'Disable NLS support.']] | ||
end | ||
|
||
depends_on 'pkg-config' => :build | ||
depends_on "gtk+" | ||
depends_on "gettext" unless ARGV.include? "--disable-nls" | ||
|
||
def install | ||
args = ["--disable-debug", "--disable-dependency-tracking", | ||
"--prefix=#{prefix}"] | ||
|
||
unless ARGV.include? '--disable-nls' | ||
gettext = Formula.factory('gettext') | ||
args << "CFLAGS=-I#{gettext.include}" | ||
args << "LDFLAGS=-L#{gettext.lib}" | ||
end | ||
|
||
system "./configure", *args | ||
system "make install" | ||
end | ||
|
||
def test | ||
system "#{bin}/freeciv-server -v" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
require 'formula' | ||
|
||
class HgFlow < Formula | ||
homepage 'https://bitbucket.org/yinwm/hgflow/wiki/Home' | ||
url 'https://bitbucket.org/yinwm/hgflow/get/v0.3.tar.gz' | ||
md5 '0c3305bc349be31da76ef82460019d09' | ||
|
||
head "http://bitbucket.org/yinwm/hgflow", :using => :hg | ||
|
||
def install | ||
prefix.install 'src/hgflow/hgflow.py' | ||
end | ||
|
||
def caveats; <<-EOS.undent | ||
1. Put following lines into your ~/.hgrc | ||
2. Restart your shell and try "hg flow". | ||
3. For more information go to http://bitbucket.org/yinwm/hgflow | ||
[extensions] | ||
hgflow = #{prefix}/hgflow.py | ||
EOS | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.