xref: /freebsd/contrib/libxo/packaging/libxo.rb.base.in (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1#
2# Homebrew formula file for libxo
3# https://github.com/mxcl/homebrew
4#
5
6require 'formula'
7
8class Libxo < Formula
9  homepage 'https://github.com/Juniper/@PACKAGE_NAME@'
10  url 'https://github.com/Juniper/@PACKAGE_NAME@/releases/download/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz'
11  sha1 '__SHA1__'
12
13  depends_on 'libtool' => :build
14
15  def install
16    system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",
17                          "--prefix=#{prefix}"
18    system "make", "install"
19  end
20end
21