2015-06-22 23:30:33 +00:00
|
|
|
# Template build file for 'libtorrent1'
|
|
|
|
pkgname=libtorrent1
|
2015-08-08 05:14:08 +00:00
|
|
|
version=1.0.6
|
|
|
|
revision=1
|
2015-06-22 23:30:33 +00: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"
|
2015-08-08 05:14:08 +00:00
|
|
|
distfiles="https://github.com/arvidn/${pkgname%1}/releases/download/${pkgname%1}-${version//./_}/${pkgname%1}-rasterbar-${version}.tar.gz"
|
|
|
|
checksum=c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61
|
2015-06-22 23:30:33 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|