SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "curl"

# SliTaz package receipt.

PACKAGE="curl"
VERSION="8.4.0"
CATEGORY="network"
SHORT_DESC="Tool and libraries for transfering files with URL syntax."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://curl.haxx.se/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://curl.haxx.se/download/$TARBALL"

DEPENDS="libcurl libgnutls libidn libssl zlib"
BUILD_DEPENDS="gnutls-dev libidn-dev openssl-dev"

HOST_ARCH="i486 arm"

# @maintainer:    Please update also libcurl

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/The most recent stable version/!d;s|.*<b>||;s|<.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --disable-ldap    \
        --with-gnutls    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin

    cp -a $install/usr/bin/curl    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)