aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMartin Contento2014-06-19 14:41:45 +0200
committerJack Nagel2014-07-18 21:35:44 -0500
commitf9157914fcdfc260476a1e850599c06dc95de43c (patch)
tree4ae4e671f66d348e5149d6301f852ed63a6ffe09 /Library/Formula
parent70b87b2b648bfe2bd45c4ab7e691078d5b3c9c3b (diff)
downloadhomebrew-f9157914fcdfc260476a1e850599c06dc95de43c.tar.bz2
unpaper: switch to maintained fork
Closes #30278. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unpaper.rb17
1 files changed, 6 insertions, 11 deletions
diff --git a/Library/Formula/unpaper.rb b/Library/Formula/unpaper.rb
index 660658f5e..ca701c493 100644
--- a/Library/Formula/unpaper.rb
+++ b/Library/Formula/unpaper.rb
@@ -1,17 +1,12 @@
-require 'formula'
+require "formula"
class Unpaper < Formula
- homepage 'http://unpaper.berlios.de/'
- url 'http://download.berlios.de/unpaper/unpaper-0.3.tar.gz'
- sha1 '120eee7c635eeb8ea75431c2dfba89bd8c132493'
+ homepage "https://www.flameeyes.eu/projects/unpaper"
+ url "https://www.flameeyes.eu/files/unpaper-5.1.tar.xz"
+ sha1 "97068a99d47d1d65030c88d52058c1d5ff7b41d1"
def install
- # Fix make.sh to take CFLAGS/LDFLAGS from environment
- inreplace "make.sh" do |s|
- s.change_make_var! "CFLAGS", ENV.cflags
- s.change_make_var! "LDFLAGS", ENV.ldflags
- end
- system 'bash make.sh'
- bin.install 'unpaper'
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make", "install"
end
end