aria2: enable libaria2

needed by kiwix-lib>=2.0.0

Closes #11.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
John 2018-04-24 16:12:17 +02:00 committed by Enno Boland
parent eeb5473ddd
commit 0bcbb40d48
4 changed files with 24 additions and 2 deletions

View File

@ -3068,6 +3068,7 @@ librpm.so.8 rpm-4.14.1_1
librpmsign.so.8 rpm-4.14.1_1
librpmbuild.so.8 rpm-4.14.1_1
librpmio.so.8 rpm-4.14.1_1
libaria2.so.0 libaria2-1.33.1_3
libsquirrel.so.0 squirrel-libs-3.1_1
libsqstdlib.so.0 squirrel-libs-3.1_1
libexecinfo.so.1 libexecinfo-1.1_1

View File

@ -1,11 +1,12 @@
# Template file for 'aria2'
pkgname=aria2
version=1.34.0
revision=1
revision=2
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"
--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"
@ -18,3 +19,21 @@ 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=3a44a802631606e138a9e172a3e9f5bcbaac43ce2895c1d8e2b46f30487e77a3
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
}
}

1
srcpkgs/libaria2 Symbolic link
View File

@ -0,0 +1 @@
aria2

1
srcpkgs/libaria2-devel Symbolic link
View File

@ -0,0 +1 @@
aria2