wok-6.x view aria2/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | 06e7758ce6d8 |
children | 25c31588cf2d |
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.18.3"
5 CATEGORY="utilities"
6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 # WEB_SITE="http://aria2.sourceforge.net/"
10 WEB_SITE="https://aria2.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="zlib libxml2 gnutls libgcrypt"
15 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config gmp-dev \
16 nettle-dev libgnutls"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS \
22 --enable-epoll --enable-threads=posix --with-libz \
23 --without-sqlite3 --without-openssl &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }