wok-current view aria2/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 25c31588cf2d |
children | 982381c7087d |
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.35.0"
5 CATEGORY="utilities"
6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP, HTTPS and FTP support."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://aria2.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base gnutls libgcrypt libxml2 zlib"
15 BUILD_DEPENDS="gcc83 gettext gmp-dev gnutls-dev libgnutls libxml2-dev \
16 nettle-dev pkg-config zlib-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --enable-epoll \
31 --enable-threads=posix \
32 --with-libz \
33 --without-sqlite3 \
34 --without-openssl \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }