2015-06-23 01:30:33 +02:00
|
|
|
# Template build file for 'libtorrent1'
|
|
|
|
pkgname=libtorrent1
|
|
|
|
version=1.0.5
|
2015-08-06 10:54:33 +02:00
|
|
|
revision=3
|
2015-06-23 01:30:33 +02:00
|
|
|
wrksrc=libtorrent-rasterbar-${version}
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-static --disable-debug --without-kqueue
|
|
|
|
--enable-aligned --with-posix-fallocate
|
|
|
|
--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="boost-devel zlib-devel libressl-devel"
|
|
|
|
short_desc="BitTorrent library written in C++ (v1.x)"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
homepage="http://www.libtorrent.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libtorrent/libtorrent-rasterbar-${version}.tar.gz"
|
|
|
|
checksum=474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0
|
|
|
|
|
|
|
|
libtorrent1-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|