Merge pull request #2009 from pullmoll/libtorrent
libtorrent: update to 0.13.5
This commit is contained in:
commit
a044af62b8
@ -1,7 +1,7 @@
|
|||||||
# Template build file for 'libtorrent'
|
# Template build file for 'libtorrent'
|
||||||
pkgname=libtorrent
|
pkgname=libtorrent
|
||||||
version=0.13.4
|
version=0.13.5
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-static --disable-debug --without-kqueue
|
configure_args="--enable-static --disable-debug --without-kqueue
|
||||||
--enable-aligned --with-posix-fallocate"
|
--enable-aligned --with-posix-fallocate"
|
||||||
@ -9,10 +9,10 @@ hostmakedepends="automake libtool pkg-config"
|
|||||||
makedepends="zlib-devel libressl-devel"
|
makedepends="zlib-devel libressl-devel"
|
||||||
short_desc="BitTorrent library written in C++"
|
short_desc="BitTorrent library written in C++"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://libtorrent.rakshasa.no"
|
homepage="https://github.com/rakshasa/${pkgname}"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz"
|
distfiles="https://github.com/rakshasa/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=704e097119dc89e2ee4630396b25de1cd64b0549841347ea75b9ef9217084955
|
checksum=625a13397828c2b84e17f51200ebee8b4f754c112dbb9c0f31292507fd7c026e
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Drop cppunit requirement
|
# Drop cppunit requirement
|
||||||
@ -20,6 +20,12 @@ pre_configure() {
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
||||||
}
|
}
|
||||||
|
post_configure() {
|
||||||
|
# Replace wrong (for cross buidls) -L/lib in Makefiles
|
||||||
|
for f in $(find ${wrksrc} -name Makefile); do
|
||||||
|
sed -i $f -e "s;-L/lib;-L${XBPS_CROSS_BASE}/lib;g"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
libtorrent-devel_package() {
|
libtorrent-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user