Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
cuetools 1.4.0
Browse files Browse the repository at this point in the history
Since berlios.de is no longer around, this formula would not build so:
- updated homepage to github repo
- updated release from 1.3.1 to 1.4.0
- added patch required for compilation (see
  svend/cuetools#18)
- removed non-applicable configure options
  • Loading branch information
squircle authored and MikeMcQuaid committed Jun 20, 2014
1 parent 8c6dd5b commit cb3135c
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions Library/Formula/cuetools.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
require 'formula'
require "formula"

class Cuetools < Formula
homepage 'http://developer.berlios.de/projects/cuetools/'
url 'http://download.berlios.de/cuetools/cuetools-1.3.1.tar.gz'
sha1 'ad760cdf76d6548471144302f88bf0a66f1d5ea2'
homepage "https://github.com/svend/cuetools"
url "https://github.com/svend/cuetools/archive/1.4.0.tar.gz"
sha1 "2954eb1b33ed7c22ce5201f69ec5480560d650ad"

head "https://github.com/svend/cuetools.git"

depends_on :autoconf => :build
depends_on :automake => :build
depends_on :libtool => :build

# see https://github.com/svend/cuetools/pull/18
patch :DATA

def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "autoreconf", "-i"
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end

__END__
diff --git a/configure.ac b/configure.ac
index f54bb92..84ab467 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([cuetools], [1.4.0], [[email protected]])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall -Werror -Wno-extra-portability foreign])
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB

0 comments on commit cb3135c

Please sign in to comment.