librtorrent: new package.

This commit is contained in:
str1ngs 2011-06-20 12:35:01 -07:00
parent 6f5d00003c
commit 616e5ff577
4 changed files with 45 additions and 0 deletions

1
srcpkgs/libtorrent-devel Symbolic link
View file

@ -0,0 +1 @@
libtorrent

View file

@ -0,0 +1,2 @@
abi_depends=">=0.8.13"
api_depends="${abi_depends}"

View file

@ -0,0 +1,16 @@
# Template file for 'librtorrent-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development: headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libelf
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,26 @@
# Template build file for 'libtorrent'
pkgname=libtorrent
version=0.12.8
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="BitTorrent library written in C++"
maintainer="Mike Rosset <mike.rosset@gmail.com>"
checksum=4f87f9577a844fd9cb8fb85ab836e8fbdd9e83da6ff064ad7e58c50a1b4ee145
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 openssl-devel
Add_dependency build libsigc++-devel
Add_dependency build libstdc++-devel
Add_dependency build glibc-devel