Merge pull request #1889 from pullmoll/libtorrent1

New package: libtorrent1-1.0.5
This commit is contained in:
Jürgen Buchmüller 2015-06-23 09:10:40 +02:00
commit fd6a04859e
3 changed files with 30 additions and 0 deletions

View File

@ -2067,3 +2067,4 @@ libgegl-sc-0.3.so gegl3-0.3.0_1
libprocps.so.4 procps-ng-3.3.10_8
libskarnet.so.2 skalibs-2.3.5.1_1
libportablexdr.so.0 portablexdr-4.9.1_1
libtorrent-rasterbar.so.8 libtorrent1-1.0.5_1

1
srcpkgs/libtorrent1-devel Symbolic link
View File

@ -0,0 +1 @@
libtorrent1

View File

@ -0,0 +1,28 @@
# Template build file for 'libtorrent1'
pkgname=libtorrent1
version=1.0.5
revision=1
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"
}
}