SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "aria2"

# SliTaz package receipt.

PACKAGE="aria2"
VERSION="1.36.0"
CATEGORY="utilities"
SHORT_DESC="A download utility with resuming and segmented downloading with HTTP, HTTPS and FTP support."
MAINTAINER="devl547@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://aria2.github.io/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION/$TARBALL"

DEPENDS="gcc83-lib-base gnutls libgcrypt libxml2 zlib"
BUILD_DEPENDS="gcc83 gettext gmp-dev gnutls-dev libgnutls libxml2-dev \
    nettle-dev pkg-config zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        CC=gcc-83        \
        CXX=g++-83        \
        --enable-epoll        \
        --enable-threads=posix    \
        --with-libz        \
        --without-sqlite3    \
        --without-openssl    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)