From 0970f41d597150243076c922186e880024a9c4cd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 22 Jul 2012 12:36:25 +0200 Subject: [PATCH] libtorrent: update to 0.13.2. --- srcpkgs/libtorrent/libtorrent-devel.template | 12 +++++------- srcpkgs/libtorrent/template | 14 ++++++-------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/srcpkgs/libtorrent/libtorrent-devel.template b/srcpkgs/libtorrent/libtorrent-devel.template index 932ee06e8e..57548c549b 100644 --- a/srcpkgs/libtorrent/libtorrent-devel.template +++ b/srcpkgs/libtorrent/libtorrent-devel.template @@ -1,15 +1,13 @@ # Template file for 'librtorrent-devel'. # -depends="openssl-devel libsigc++-devel libstdc++-devel glibc-devel libtorrent" +noarch=yes +depends="libtorrent>=$version" short_desc="${sourcepkg} - development files" long_desc="${long_desc} This package contains files for development: headers, static libs, etc." - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 50ff9335f1..2601a93f1a 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -1,22 +1,20 @@ # Template build file for 'libtorrent' pkgname=libtorrent -version=0.12.9 -distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz" +version=0.13.2 +revision=1 build_style=gnu-configure configure_args="--disable-debug" -revision=2 -makedepends="pkg-config openssl-devel libsigc++-devel libstdc++-devel glibc-devel" +makedepends="pkg-config openssl-devel libsigc++-devel" +subpackages="$pkgname-devel" short_desc="BitTorrent library written in C++" maintainer="Juan RP " homepage="http://libtorrent.rakshasa.no" license="GPL-2" -checksum=15dc9e8dd45d070f447e599bef08ef0ca421bac6e7f55e608dcd19360594af64 +distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz" +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." - -subpackages="$pkgname-devel" -