libtorrent_rasterbar: bump version.

* fix install on primary arch, use soname as lib provides.
This commit is contained in:
Jerome Duval
2015-11-30 22:49:46 +00:00
parent 7bda17c813
commit a2333c1c65
2 changed files with 12 additions and 9 deletions

View File

@@ -13,18 +13,19 @@ The main goals of libtorrent are:
HOMEPAGE="http://www.libtorrent.org/"
COPYRIGHT="2003-2015 Arvid Norberg"
LICENSE="BSD (2-clause)"
SOURCE_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-$portVersion.tar.gz"
TORRENT_VERSION=`echo $portVersion | sed 's/\./_/g'`
SOURCE_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$TORRENT_VERSION/libtorrent-rasterbar-$portVersion.tar.gz"
SOURCE_DIR="libtorrent-rasterbar-$portVersion"
CHECKSUM_SHA256="c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61"
PATCHES="libtorrent_rasterbar_x86-1.0.6.patchset"
REVISION="2"
CHECKSUM_SHA256="3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83"
PATCHES="libtorrent_rasterbar-$portVersion.patchset"
REVISION="1"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
PROVIDES="
libtorrent_rasterbar${secondaryArchSuffix} = $portVersion
lib:libtorrent_rasterbar$secondaryArchSuffix = $portVersion
lib:libtorrent_rasterbar$secondaryArchSuffix = 8.0.7 compat >= 8
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -37,7 +38,7 @@ REQUIRES="
PROVIDES_devel="
libtorrent_rasterbar${secondaryArchSuffix}_devel = $portVersion
devel:libtorrent_rasterbar$secondaryArchSuffix = $portVersion
devel:libtorrent_rasterbar$secondaryArchSuffix = 8.0.7 compat >= 8
"
REQUIRES_devel="
libtorrent_rasterbar$secondaryArchSuffix == $portVersion base
@@ -70,8 +71,10 @@ INSTALL()
make install
mv $prefix/include/libtorrent $includeDir
mv $prefix/lib/*.so* $libDir
mv $prefix/lib/pkgconfig $libDir
if [ "$prefix/lib" -ne $libDir ]; then
mv $prefix/lib/*.so* $libDir
mv $prefix/lib/pkgconfig $libDir
fi
rm -r $prefix/include
strip $libDir/libtorrent-rasterbar.so.8