aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAmatCoder <AmatCoder@users.noreply.github.com>2016-05-20 15:04:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-23 11:40:36 +0000
commitfb41f0cf2b5a424fc6faab9a0e83e038e14714ae (patch)
treebf6e6edcb32e1c6c8c57b14d3233626c91b026d0 /testing
parent95c5a4b490a8774f829262b6a2d065f0efe4c5ab (diff)
downloadaports-fb41f0cf2b5a424fc6faab9a0e83e038e14714ae.tar.bz2
aports-fb41f0cf2b5a424fc6faab9a0e83e038e14714ae.tar.xz
testing/libtorrent-rasterbar: Update to 1.1.0
Diffstat (limited to 'testing')
-rw-r--r--testing/libtorrent-rasterbar/APKBUILD30
1 files changed, 11 insertions, 19 deletions
diff --git a/testing/libtorrent-rasterbar/APKBUILD b/testing/libtorrent-rasterbar/APKBUILD
index fcf6522de2..7e5242d2d7 100644
--- a/testing/libtorrent-rasterbar/APKBUILD
+++ b/testing/libtorrent-rasterbar/APKBUILD
@@ -1,8 +1,10 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar
-pkgver=0.16.19
-pkgrel=2
+pkgver=1.1.0
+_pkgver=${pkgver%.0}
+_pkgver=${_pkgver//./_}
+pkgrel=0
pkgdesc="A feature complete C++ bittorrent implementation"
url="http://www.rasterbar.com/products/libtorrent"
arch="all"
@@ -12,21 +14,12 @@ depends_dev="boost-dev geoip-dev openssl-dev python-dev"
makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/sourceforge/libtorrent/$pkgname-$pkgver.tar.gz"
+source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +29,11 @@ build() {
--with-boost-system=boost_system || return 1
make || return 1
}
-
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="38ed42c14dbbc4fb299828b2cb7ec1fd libtorrent-rasterbar-0.16.19.tar.gz"
-sha256sums="9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982 libtorrent-rasterbar-0.16.19.tar.gz"
-sha512sums="8e605802cb1ae80228d253adba44da6f5af39e7d65c59f65e15444ed1122500529ee068f6d3608b1c2a249f18b4de695073f7b67772fa445618757697d779340 libtorrent-rasterbar-0.16.19.tar.gz"
+md5sums="3a291044b5b33fec3e30b22a94fda31f libtorrent-rasterbar-1.1.0.tar.gz"
+sha256sums="2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d libtorrent-rasterbar-1.1.0.tar.gz"
+sha512sums="5770e3b243605aabe94951f0d3774a1a928b87690c0ba9f8a093ecf90852cf1c76d29a477ab0efc4a352802ca9b405d5c00a5dcdc8d03c6c1644aabe6ad020df libtorrent-rasterbar-1.1.0.tar.gz"