wok annotate aria2/receipt @ rev 25474

openjdk-6-src: use find from findutils in place of busybox find
author Hans-G?nter Theisgen
date Thu Oct 13 16:42:57 2022 +0100 (2022-10-13)
parents 5ea0ce1cecc0
children 343c093ad221
rev   line source
devl547@5217 1 # SliTaz package receipt.
devl547@5217 2
devl547@5217 3 PACKAGE="aria2"
Hans-G?nter@24323 4 VERSION="1.36.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 {
Hans-G?nter@24323 43 cook_copy_folders bin
devl547@5217 44 }