Remove parsley and argp-standalone
Parsley is head-only with no stable versions available, and hasn't been updated for two years. argp-standalone is only used by parsley and does not have a real homepage. Closes Homebrew/homebrew#10458. Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
f9cb788fc9
commit
35a62c2e8e
|
@ -1,15 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class ArgpStandalone < Formula
|
||||
homepage 'http://www.lysator.liu.se/~nisse/misc/'
|
||||
url 'http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz'
|
||||
md5 '720704bac078d067111b32444e24ba69'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make"
|
||||
|
||||
include.install 'argp.h', 'argp-fmtstream.h', 'argp-namefrob.h'
|
||||
lib.install 'libargp.a'
|
||||
end
|
||||
end
|
|
@ -1,23 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class Parsley < Formula
|
||||
head 'https://github.com/fizx/parsley.git'
|
||||
homepage 'https://github.com/fizx/parsley'
|
||||
|
||||
depends_on 'json-c'
|
||||
depends_on 'pcre'
|
||||
depends_on 'argp-standalone'
|
||||
|
||||
def install
|
||||
argp = Formula.factory("argp-standalone").prefix
|
||||
|
||||
# remove the refs to /opt/local and use this opportunity to link to argp
|
||||
inrepace "configure" do |s|
|
||||
s.gsub! '-L/opt/local/lib', "-L#{argp}"
|
||||
s.gsub! '-I/opt/local/include', "-I#{argp}"
|
||||
end
|
||||
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue