diff options
| author | Mike McQuaid | 2014-12-25 22:16:29 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-27 11:09:32 +0000 |
| commit | 43882a26b5f15da065ccb32dac0b78622ba026e1 (patch) | |
| tree | 4acb8242bc9701bae5ea3b921b9e93121ae862cf /Library/Formula/hexchat.rb | |
| parent | 995ee81399c5d056d26cfe531fd43dad3408e603 (diff) | |
| download | homebrew-43882a26b5f15da065ccb32dac0b78622ba026e1.tar.bz2 | |
Migrate some formula with hard-X11 dependencies.
We have the homebrew-x11 tap for this reason so let's migrate everything
without any reverse dependencies. Ideally I'd also like to migrate
everything that's :recommended and the GTK formulae through there too
(or to a dedicated homebrew-gtk).
Diffstat (limited to 'Library/Formula/hexchat.rb')
| -rw-r--r-- | Library/Formula/hexchat.rb | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/Library/Formula/hexchat.rb b/Library/Formula/hexchat.rb deleted file mode 100644 index 2399aaff9..000000000 --- a/Library/Formula/hexchat.rb +++ /dev/null @@ -1,52 +0,0 @@ -require 'formula' - -class Hexchat < Formula - homepage 'http://hexchat.github.io/' - head 'https://github.com/hexchat/hexchat.git' - url 'http://dl.hexchat.net/hexchat/hexchat-2.10.1.tar.xz' - sha1 '3ad562ec76323ba9d0f279d36201a333594c755b' - - bottle do - sha1 "da41ccf19d762513a1e774c078a2f7bf9e46073c" => :mavericks - sha1 "f10e3860adee826c03e6269991a5e77d884be028" => :mountain_lion - sha1 "728caab194af26da2f6eec798fb162dffa817698" => :lion - end - - depends_on 'pkg-config' => :build - depends_on 'intltool' => :build - depends_on :python => :optional - depends_on :python3 => :optional - depends_on 'gettext' - depends_on 'gtk+' - depends_on :x11 - - option 'without-perl', 'Build without Perl support' - option 'without-plugins', 'Build without plugin support' - - def install - args = %W[--prefix=#{prefix} - --disable-dependency-tracking - --enable-openssl] - - if build.with? "python3" - py_ver = Formula["python3"].version.to_s[0..2] # e.g "3.4" - ENV.append_path "PKG_CONFIG_PATH", "#{HOMEBREW_PREFIX}/Frameworks/Python.framework/Versions/#{py_ver}/lib/pkgconfig/" - args << "--enable-python=python#{py_ver}" - elsif build.with? "python" - ENV.append_path "PKG_CONFIG_PATH", "#{HOMEBREW_PREFIX}/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/" - ENV.append_path "PKG_CONFIG_PATH", "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/" - args << "--enable-python=python2.7" - else - args << "--disable-python" - end - - args << "--disable-perl" if build.without? "perl" - args << "--disable-plugin" if build.without? "plugins" - - system "./configure", *args - system "make", "install" - - rm_rf share/"applications" - rm_rf share/"appdata" - end -end |
