New package: libtorrent1-1.0.5

Create a new major version package of libtorrent(-rasterbar)
and switch to the new homepage http://www.libtorrent.org/
The license also changed from GPL-2 to BSD.
This commit is contained in:
jbu 2015-06-23 01:30:33 +02:00
parent 5ced5895a3
commit 23c15226fe
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"
}
}