Last active
October 16, 2018 19:34
-
-
Save muammar/f304d5e89bc5a0f3331f3d64aa339864 to your computer and use it in GitHub Desktop.
Build Xournal with Homebrew (works with Mojave)
This file contains hidden or 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 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