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"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)