libtorrent: armv7 support.

This commit is contained in:
Juan RP 2014-02-02 11:47:08 +01:00
parent 40ab419889
commit 8454015e7b

View file

@ -1,13 +1,13 @@
# Template build file for 'libtorrent' # Template build file for 'libtorrent'
pkgname=libtorrent pkgname=libtorrent
version=0.13.2 version=0.13.2
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
# Check endiannes # Check endiannes
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
# XXX Only supported targets are matched. # XXX Only supported targets are matched.
i686|x86_64|armv6l|mipsel) _endiannes="ac_cv_c_bigendian=no";; i686*|x86_64*|armv?l|mipsel) _endiannes="ac_cv_c_bigendian=no";;
*) _endiannes="ac_cv_c_bigendian=yes";; *) _endiannes="ac_cv_c_bigendian=yes";;
esac esac
@ -20,19 +20,14 @@ homepage="http://libtorrent.rakshasa.no"
license="GPL-2" license="GPL-2"
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz" distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
checksum=ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f checksum=ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f
long_desc="
LibTorrent is a BitTorrent library written in C++ for *nix, with a focus
on high performance and good code. The library differentiates itself from
other implementations by transfering directly from file pages to the network
stack. On high-bandwidth connections it is able to seed at 3 times the speed
of the official client."
libtorrent-devel_package() { libtorrent-devel_package() {
depends="libtorrent>=$version" depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
} }
} }