Update (lib|r)torrent.

master
Adam Vandenberg 2010-02-19 21:28:33 -08:00
parent 338c3cf1f4
commit fdfec9a564
2 changed files with 4 additions and 23 deletions

View File

@ -1,9 +1,9 @@
require 'formula'
class Libtorrent <Formula
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz'
url 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz'
homepage 'http://libtorrent.rakshasa.no/'
md5 'fe8155d364b220713074423100d4bf29'
md5 '037499ed708aaf72988cee60e5a8d96b'
depends_on 'pkg-config'
depends_on 'libsigc++'

View File

@ -1,36 +1,17 @@
require 'formula'
class Rtorrent <Formula
url 'http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz'
url 'http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz'
homepage 'http://libtorrent.rakshasa.no/'
md5 'e701095e1824b7e512a17000f4c0a783'
md5 'b804c45c01c40312926bcea6b55bb084'
depends_on 'pkg-config'
depends_on 'libsigc++'
depends_on 'libtorrent'
def patches
DATA
end
def install
ENV.O3
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
system "make install"
end
end
__END__
diff -u a/configure b/configure
--- a/configure 2009-10-14 19:28:31.000000000 -0700
+++ b/configure 2009-10-14 19:27:36.000000000 -0700
@@ -17686,7 +17686,7 @@
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.4" 2>/dev/null`
+ pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs-only-l "libcurl >= 7.15.4" 2>/dev/null`
else
pkg_failed=yes
fi