From 8b4b1654437c11edd28b082f87a61c574f6e0f37 Mon Sep 17 00:00:00 2001 From: commitay Date: Sat, 20 Oct 2018 17:30:50 +1000 Subject: [PATCH] cdrtools: remove devel spec --- Formula/cdrtools.rb | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/Formula/cdrtools.rb b/Formula/cdrtools.rb index d3088266b6..7ea794678b 100644 --- a/Formula/cdrtools.rb +++ b/Formula/cdrtools.rb @@ -1,19 +1,11 @@ class Cdrtools < Formula desc "CD/DVD/Blu-ray premastering and recording software" homepage "http://cdrecord.org/" + url "https://downloads.sourceforge.net/project/cdrtools/cdrtools-3.01.tar.bz2" + mirror "https://fossies.org/linux/misc/cdrtools-3.01.tar.bz2" + sha256 "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" revision 1 - stable do - url "https://downloads.sourceforge.net/project/cdrtools/cdrtools-3.01.tar.bz2" - mirror "https://fossies.org/linux/misc/cdrtools-3.01.tar.bz2" - sha256 "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" - - patch do - url "https://downloads.sourceforge.net/project/cdrtools/cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch" - sha256 "4e07a2be599c0b910ab3401744cec417dbdabf30ea867ee59030a7ad1906498b" - end - end - bottle do rebuild 1 sha256 "4a7ba59af434b1302056aafd200f273470e91d27c9ad2a19f05a834ee41dc3be" => :mojave @@ -24,17 +16,16 @@ class Cdrtools < Formula sha256 "1b3f3ab5baf44ad31f8d09e36de6df59901ce036cc681c54187fe5f41dc8bb94" => :mavericks end - devel do - url "https://downloads.sourceforge.net/project/cdrtools/alpha/cdrtools-3.02a09.tar.bz2" - mirror "https://fossies.org/linux/misc/cdrtools-3.02a09.tar.bz2" - sha256 "aa28438f458ef3f314b79f2029db27679dae1d5ffe1569b6de57742511915e81" - end - depends_on "smake" => :build conflicts_with "dvdrtools", :because => "both dvdrtools and cdrtools install binaries by the same name" + patch do + url "https://downloads.sourceforge.net/project/cdrtools/cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch" + sha256 "4e07a2be599c0b910ab3401744cec417dbdabf30ea867ee59030a7ad1906498b" + end + def install # Speed-up the build by skipping the compilation of the profiled libraries. # This could be done by dropping each occurence of *_p.mk from the definition @@ -42,7 +33,6 @@ class Cdrtools < Formula # lib*/*_p.mk files. The latter method produces warnings but works fine. rm_f Dir["lib*/*_p.mk"] system "smake", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install" - system "smake", "tests" if build.devel? # cdrtools tries to install some generic smake headers, libraries and # manpages, which conflict with the copies installed by smake itself (include/"schily").rmtree