diff options
| author | Brian Collins | 2011-09-16 23:13:16 +0100 |
|---|---|---|
| committer | Jack Nagel | 2011-09-18 14:19:15 -0500 |
| commit | 001c9812ed15fe7a906c3e48343e4071a7761006 (patch) | |
| tree | adffb0af48b215065a3598fd817985c1ab7ab806 /Library | |
| parent | 7fbe0d997515a1431721da8d1e5e0c6ace02171b (diff) | |
| download | homebrew-001c9812ed15fe7a906c3e48343e4071a7761006.tar.bz2 | |
libmpq: use GitHub mirror
http://libmpq.org has been down for several months, so we'll use this
mirror for now.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libmpq.rb | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/Library/Formula/libmpq.rb b/Library/Formula/libmpq.rb index 5725e1cd7..d70f0ca99 100644 --- a/Library/Formula/libmpq.rb +++ b/Library/Formula/libmpq.rb @@ -1,17 +1,34 @@ require 'formula' class Libmpq < Formula - # Website currently has a bad SSL cert - url 'https://libmpq.org/download/libmpq-0.4.2.tar.bz2', - :using => CurlUnsafeDownloadStrategy + # libmpq.org has seen prolonged downtime + head 'https://github.com/ge0rg/libmpq.git' + homepage 'https://github.com/ge0rg/libmpq' - md5 '54ec039b9654ba1662485e1bc9682850' - homepage 'https://libmpq.org' + def patches + # fixes autogen.sh (glibtoolize instead of libtoolize) + DATA + end def install + system "sh ./autogen.sh" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" end end + +__END__ +--- a/autogen.sh ++++ b/autogen.sh +@@ -8,7 +8,7 @@ directory=`dirname $0` + touch $directory/configure.ac + + # Regenerate configuration files +-libtoolize --copy ++glibtoolize --copy + aclocal + autoheader + automake --foreign --add-missing --copy +-- |
