Last active
September 22, 2015 06:08
-
-
Save justinjoy/2ac912193cba3be8ba36 to your computer and use it in GitHub Desktop.
Homebrew (brew) formula for GNOME jhbuild
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
require 'formula' | |
class Jhbuild < Formula | |
homepage 'http://freedesktop.org/wiki/Software/jhbuild/' | |
url 'git://git.gnome.org/jhbuild', :tag => '3.5.91' | |
depends_on 'python' | |
depends_on 'autoconf' | |
depends_on 'automake' | |
depends_on 'libtool' | |
depends_on 'gettext' | |
depends_on 'pkg-config' | |
depends_on 'yelp-tools' | |
depends_on 'intltool' | |
def install | |
ENV.append 'bindir', bin | |
prefix.install Dir['*'] | |
system "cd #{prefix} && find . -type f -exec sed -i '' 's@/opt/gnome@~/.jhbuild@g' {} \\; && ./autogen.sh && make && make install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment