mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
|
|
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
|
|
pkgname=libtorrent
|
|
pkgver=0.13.6
|
|
pkgrel=1
|
|
pkgdesc="BitTorrent library written in C++"
|
|
url="http://rakshasa.github.io/rtorrent/"
|
|
arch="all"
|
|
license="GPL"
|
|
makedepends="zlib-dev libsigc++-dev libressl-dev"
|
|
subpackages="$pkgname-dev"
|
|
options="libtool"
|
|
source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-debug \
|
|
--disable-instrumentation \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="66f18044432a62c006c75f6d0bb4d7dc libtorrent-0.13.6.tar.gz"
|
|
sha256sums="2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04 libtorrent-0.13.6.tar.gz"
|
|
sha512sums="b8aea4060357a8a40d15d42f1f698ef6f3ebdc885000bfbfa5bf9c81af8c88b5503a107e05c214e3e8489126928d336356c5e7e0eaf836b6b84a3cf74633b050 libtorrent-0.13.6.tar.gz"
|