diff --git a/srcpkgs/libtorrent-rasterbar-examples b/srcpkgs/libtorrent-rasterbar-examples new file mode 120000 index 00000000000..ee820823e81 --- /dev/null +++ b/srcpkgs/libtorrent-rasterbar-examples @@ -0,0 +1 @@ +libtorrent-rasterbar \ No newline at end of file diff --git a/srcpkgs/libtorrent-rasterbar/template b/srcpkgs/libtorrent-rasterbar/template index 6b87b427ff6..45c970a2418 100644 --- a/srcpkgs/libtorrent-rasterbar/template +++ b/srcpkgs/libtorrent-rasterbar/template @@ -1,17 +1,17 @@ # Template file for 'libtorrent-rasterbar' pkgname=libtorrent-rasterbar -version=1.1.12 +version=1.1.13 revision=1 build_style=gnu-configure -configure_args="--enable-python-binding --with-boost=${XBPS_CROSS_BASE}/usr" +configure_args="--enable-examples --enable-python-binding --with-boost=${XBPS_CROSS_BASE}/usr" hostmakedepends="automake pkg-config intltool libtool python-devel" makedepends="libressl-devel boost-devel geoip-devel python-devel" short_desc="C++ bittorrent library by Rasterbar Software" maintainer="Eivind Uggedal " license="BSD-3-Clause" homepage="https://libtorrent.org/" -distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent_${version//./_}/libtorrent-rasterbar-${version}.tar.gz" -checksum=a5937134edf3ca8c109403a47f5a5fc93f7b8dca4e97f1a629a8c84288bee7a7 +distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz" +checksum=30040719858e3c06634764e0c1778738eb42ecd0b45e814afa746329a948ead7 pre_configure() { export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7" @@ -42,3 +42,10 @@ libtorrent-rasterbar-devel_package() { vmove "usr/lib/*.a" } } + +libtorrent-rasterbar-examples_package() { + short_desc+=" - example binaries" + pkg_install() { + vmove usr/bin + } +}