rtorrent: cross build and dbg support.
This commit is contained in:
parent
54357fcd1f
commit
0f0b91e2f7
|
@ -0,0 +1,25 @@
|
|||
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,11 +1,12 @@
|
|||
# Template file for 'rtorrent'
|
||||
pkgname=rtorrent
|
||||
version=0.9.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-debug"
|
||||
depends="libtorrent>=0.13.2"
|
||||
makedepends="pkg-config libcurl-devel libsigc++-devel libtorrent-devel>=0.13.2 ncurses-devel"
|
||||
hostmakedepends="automake pkg-config"
|
||||
makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.2 ncurses-devel"
|
||||
short_desc="Ncurses BitTorrent client based on libTorrent"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://libtorrent.rakshasa.no"
|
||||
|
@ -17,3 +18,8 @@ long_desc="
|
|||
The client and library is written in C++ with emphasis on speed and efficiency,
|
||||
while delivering equivalent features to those found in GUI based clients
|
||||
in an ncurses client."
|
||||
|
||||
pre_configure() {
|
||||
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue