wok-6.x annotate aria2/receipt @ rev 24174

updated pciids (20200329 -> 20211230)
author Hans-G?nter Theisgen
date Thu Dec 30 06:42:15 2021 +0100 (2021-12-30)
parents 25c31588cf2d
children 982381c7087d
rev   line source
devl547@5217 1 # SliTaz package receipt.
devl547@5217 2
devl547@5217 3 PACKAGE="aria2"
Hans-G?nter@22493 4 VERSION="1.35.0"
devl547@5217 5 CATEGORY="utilities"
Hans-G?nter@22493 6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP, HTTPS and FTP support."
devl547@5217 7 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
hackdorte@20008 9 WEB_SITE="https://aria2.github.io/"
slaxemulator@10983 10
Hans-G?nter@22493 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22493 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION/$TARBALL"
Hans-G?nter@22493 13
Hans-G?nter@22493 14 DEPENDS="gcc83-lib-base gnutls libgcrypt libxml2 zlib"
Hans-G?nter@22493 15 BUILD_DEPENDS="gcc83 gettext gmp-dev gnutls-dev libgnutls libxml2-dev \
Hans-G?nter@22493 16 nettle-dev pkg-config zlib-dev"
devl547@5217 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
devl547@5217 24 # Rules to configure and make the package.
devl547@5217 25 compile_rules()
devl547@5217 26 {
Hans-G?nter@22493 27 ./configure \
Hans-G?nter@22493 28 CC=gcc-83 \
Hans-G?nter@22493 29 CXX=g++-83 \
Hans-G?nter@22493 30 --enable-epoll \
Hans-G?nter@22493 31 --enable-threads=posix \
Hans-G?nter@22493 32 --with-libz \
Hans-G?nter@22493 33 --without-sqlite3 \
Hans-G?nter@22493 34 --without-openssl \
Hans-G?nter@22493 35 $CONFIGURE_ARGS &&
Hans-G?nter@22493 36 make &&
Hans-G?nter@22493 37 make install
devl547@5217 38 }
devl547@5217 39
devl547@5217 40 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5217 41 genpkg_rules()
devl547@5217 42 {
devl547@5217 43 mkdir -p $fs/usr
Hans-G?nter@22493 44 cp -a $install/usr/bin $fs/usr
devl547@5217 45 }