rtorrent: update to 0.9.4.
This commit is contained in:
parent
3c137532ae
commit
1a4bdcb47b
2 changed files with 7 additions and 31 deletions
|
@ -1,25 +0,0 @@
|
|||
Fix cross compilation, based on OpenWRT patch.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
--- configure.ac 2012-04-20 03:55:30.000000000 -0300
|
||||
+++ configure.ac 2012-05-09 11:06:49.436474039 -0300
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
-AM_PATH_CPPUNIT(1.9.6)
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
--- scripts/common.m4 2012-03-13 09:10:49.000000000 -0300
|
||||
+++ scripts/common.m4 2012-05-09 11:05:56.620102678 -0300
|
||||
@@ -223,7 +223,7 @@
|
||||
AC_DEFUN([TORRENT_CHECK_EXECINFO], [
|
||||
AC_MSG_CHECKING(for execinfo.h)
|
||||
|
||||
- AC_RUN_IFELSE([AC_LANG_SOURCE([
|
||||
+ AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||
#include <execinfo.h>
|
||||
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
|
||||
])],
|
|
@ -1,19 +1,20 @@
|
|||
# Template file for 'rtorrent'
|
||||
pkgname=rtorrent
|
||||
version=0.9.2
|
||||
revision=3
|
||||
version=0.9.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.2 ncurses-devel"
|
||||
depends="libtorrent>=0.13.2"
|
||||
makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.4 ncurses-devel"
|
||||
short_desc="Ncurses BitTorrent client based on libTorrent"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://libtorrent.rakshasa.no"
|
||||
license="GPL-2"
|
||||
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
|
||||
checksum=5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d
|
||||
checksum=bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
|
||||
|
||||
pre_configure() {
|
||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
# Drop cppunit requirement
|
||||
sed '/AM_PATH_CPPUNIT.*/d' -i configure.ac
|
||||
autoreconf -fi
|
||||
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue