Skip to content

Instantly share code, notes, and snippets.

@justinjoy
Last active September 22, 2015 06:08
Show Gist options
  • Save justinjoy/2ac912193cba3be8ba36 to your computer and use it in GitHub Desktop.
Save justinjoy/2ac912193cba3be8ba36 to your computer and use it in GitHub Desktop.
Homebrew (brew) formula for GNOME jhbuild
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