void-packages/srcpkgs/libktorrent/template
John ec538d5554 libktorrent: fix cross
Closes #14245.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-09 14:17:00 +02:00

22 lines
755 B
Bash

# Template file for 'libktorrent'
pkgname=libktorrent
version=2.1
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python doxygen"
makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel kcrash-devel gmp-devel qca-qt5-devel"
short_desc="A BitTorrent protocol implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ktorrent.pwsp.net"
distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.xz"
checksum=3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f
libktorrent-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}