2016-03-16 23:06:34 +00:00
|
|
|
#
|
|
|
|
# Homebrew formula file for libxo
|
|
|
|
# https://github.com/mxcl/homebrew
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libxo < Formula
|
2016-04-15 18:03:30 +00:00
|
|
|
homepage 'https://github.com/Juniper/@PACKAGE_NAME@'
|
|
|
|
url 'https://github.com/Juniper/@PACKAGE_NAME@/releases/download/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz'
|
2016-03-16 23:06:34 +00:00
|
|
|
sha1 '__SHA1__'
|
|
|
|
|
|
|
|
depends_on 'libtool' => :build
|
|
|
|
|
|
|
|
def install
|
2016-04-15 18:03:30 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",
|
2016-03-16 23:06:34 +00:00
|
|
|
"--prefix=#{prefix}"
|
2016-04-15 18:03:30 +00:00
|
|
|
system "make", "install"
|
2016-03-16 23:06:34 +00:00
|
|
|
end
|
|
|
|
end
|