xref: /freebsd/contrib/libxo/packaging/libxo.rb.base.in (revision 0edd2576c0e07f525c80e4aa5ff24350b55f18b7)
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