void-packages/srcpkgs/aria2/template
2019-10-08 21:14:30 +02:00

39 lines
1.3 KiB
Bash

# Template file for 'aria2'
pkgname=aria2
version=1.35.0
revision=1
build_style=gnu-configure
configure_args="--with-openssl --with-libexpat --without-gnutls
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
--with-bashcompletiondir=/usr/share/bash-completion/completions
--enable-libaria2"
hostmakedepends="pkg-config"
makedepends="c-ares-devel expat-devel gmp-devel libressl-devel sqlite-devel
zlib-devel"
depends="ca-certificates"
checkdepends="libcppunit-devel"
short_desc="Lightweight multi-protocol/multi-source command-line download utility"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://aria2.github.io/"
changelog="https://raw.githubusercontent.com/aria2/aria2/master/NEWS"
distfiles="https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz"
checksum=1e2b7fd08d6af228856e51c07173cfcf987528f1ac97e04c5af4a47642617dfd
libaria2_package() {
short_desc="Multi-Protocol/multi-source download library"
pkg_install() {
vmove "usr/lib/libaria2.so.*"
}
}
libaria2-devel_package() {
short_desc="Multi-Protocol/multi-source download library - development files"
depends="libaria2>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}