SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "uget"

# SliTaz package receipt.

PACKAGE="uget"
VERSION="2.2.3"
CATEGORY="network"
SHORT_DESC="Download manager using gtk+ and libcurl."
MAINTAINER="devl547@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="https://web.archive.org/web/20220621150801/https://sourceforge.net/projects/urlget/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/urlget/$PACKAGE-$VERSION-1.tar.gz"

SUGGESTED="uget-lang"
DEPENDS="curl glib gtk+3 pcre"
BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"

# What is the latest version available today?
current_version()
{
    wget --no-check-certificate -O - ${WEB_SITE}downloads/ 2>/dev/null | \
    sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    # 2.2.3 unrecognised:
    #    --with-gtk3

    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        --disable-gstreamer    \
        --disable-notify    \
        $CONFIGURE_ARGS        \
        LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
    make -s &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    icons
    cook_copy_folders    sounds
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)