wok rev 22493

updated aria2 (1.18.3 -> 1.35.0)
author Hans-G?nter Theisgen
date Tue Dec 31 16:52:26 2019 +0100 (2019-12-31)
parents f4cb7c6f97ac
children f42346eb572c
files aria2/receipt
line diff
     1.1 --- a/aria2/receipt	Tue Dec 31 15:18:19 2019 +0100
     1.2 +++ b/aria2/receipt	Tue Dec 31 16:52:26 2019 +0100
     1.3 @@ -1,32 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="aria2"
     1.7 -VERSION="1.18.3"
     1.8 +VERSION="1.35.0"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support"
    1.11 +SHORT_DESC="A download utility with resuming and segmented downloading with HTTP, HTTPS and FTP support."
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -# WEB_SITE="http://aria2.sourceforge.net/"
    1.15  WEB_SITE="https://aria2.github.io/"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="zlib libxml2 gnutls libgcrypt"
    1.20 -BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config gmp-dev \
    1.21 -nettle-dev libgnutls"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION/$TARBALL"
    1.24 +
    1.25 +DEPENDS="gcc83-lib-base gnutls libgcrypt libxml2 zlib"
    1.26 +BUILD_DEPENDS="gcc83 gettext gmp-dev gnutls-dev libgnutls libxml2-dev \
    1.27 +	nettle-dev pkg-config zlib-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure $CONFIGURE_ARGS \
    1.33 -	--enable-epoll --enable-threads=posix --with-libz \
    1.34 -	--without-sqlite3 --without-openssl &&
    1.35 -	make && make install
    1.36 +	./configure			\
    1.37 +		CC=gcc-83		\
    1.38 +		CXX=g++-83		\
    1.39 +		--enable-epoll		\
    1.40 +		--enable-threads=posix	\
    1.41 +		--with-libz		\
    1.42 +		--without-sqlite3	\
    1.43 +		--without-openssl	\
    1.44 +		$CONFIGURE_ARGS &&
    1.45 +	make &&
    1.46 +	make install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 +	cp -a $install/usr/bin	$fs/usr
    1.55  }