# Template build file for 'libtorrent'
pkgname=libtorrent
version=0.12.9
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-debug"
short_desc="BitTorrent library written in C++"
maintainer="Mike Rosset <mike.rosset@gmail.com>"
homepage="http://libtorrent.rakshasa.no"
license="GPL-2"
checksum=15dc9e8dd45d070f447e599bef08ef0ca421bac6e7f55e608dcd19360594af64
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"

Add_dependency run libssl
Add_dependency run libsigc++
Add_dependency run libstdc++
Add_dependency run glibc
Add_dependency run libgcc

Add_dependency build pkg-config
Add_dependency build openssl-devel
Add_dependency build libsigc++-devel
Add_dependency build libstdc++-devel
Add_dependency build glibc-devel
