Skip to content

Instantly share code, notes, and snippets.

@muammar
Last active October 16, 2018 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muammar/f304d5e89bc5a0f3331f3d64aa339864 to your computer and use it in GitHub Desktop.
Save muammar/f304d5e89bc5a0f3331f3d64aa339864 to your computer and use it in GitHub Desktop.
Build Xournal with Homebrew (works with Mojave)
require 'formula'
class Xournal < Formula
homepage 'http://xournal.sourceforge.net'
url 'http://downloads.sourceforge.net/xournal/xournal-0.4.8.2016.tar.gz'
sha256 'b25898dbd7a149507f37a16769202d69fbebd4a000d766923bbd32c5c7462826'
depends_on 'pkg-config' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on :x11
depends_on 'gtk+'
depends_on 'poppler'
depends_on 'libgnomecanvas'
def install
system "./autogen.sh", "--prefix=#{prefix}"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment