Created
November 11, 2016 16:40
-
-
Save av-ast/385c8d751f50c02ff6e7452ab473195d to your computer and use it in GitHub Desktop.
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 Erln8 < Formula | |
homepage '' | |
url 'https://github.com/metadave/erln8/archive/erln8-0.9.9.tar.gz' | |
sha256 '9c48a97c72232bac352245f712430addb70ddf1b86d31d8beb19ab41e2c44bf8' | |
depends_on 'glib' | |
depends_on 'pkg-config' => :build | |
depends_on 'gettext' | |
depends_on 'libffi' | |
depends_on 'autoconf' | |
depends_on 'automake' | |
depends_on 'unixodbc' | |
def install | |
system "make" | |
system "make", "PREFIX=#{prefix}", "install" | |
bash_completion.install 'bash_completion/erln8' | |
end | |
test do | |
system "#{bin}/erln8 --help" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment