wok annotate uget/receipt @ rev 25630

libssh, openssh, paramiko, proftpd, putty: CVE-2023-48795 fix, waiting for dropbear and tinyssh released.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 22 14:30:01 2023 +0000 (11 months ago)
parents 348478407936
children
rev   line source
devl547@6042 1 # SliTaz package receipt.
devl547@6042 2
devl547@6042 3 PACKAGE="uget"
Hans-G?nter@25379 4 VERSION="2.2.3"
slaxemulator@6147 5 CATEGORY="network"
Hans-G?nter@22073 6 SHORT_DESC="Download manager using gtk+ and libcurl."
devl547@6042 7 MAINTAINER="devl547@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
pascal@25107 9 WEB_SITE="https://web.archive.org/web/20220621150801/https://sourceforge.net/projects/urlget/"
Hans-G?nter@22073 10
devl547@6042 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25379 12 WGET_URL="$SF_MIRROR/urlget/$PACKAGE-$VERSION-1.tar.gz"
devl547@6042 13
Hans-G?nter@25379 14 SUGGESTED="uget-lang"
Hans-G?nter@22073 15 DEPENDS="curl glib gtk+3 pcre"
Hans-G?nter@22073 16 BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
pascal@14996 17
pascal@24304 18 # What is the latest version available today?
pascal@24304 19 current_version()
pascal@24304 20 {
pascal@25608 21 wget -O - https://sourceforge.net/projects/urlget/files/uget%20%28stable%29/ 2>/dev/null | \
pascal@25608 22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@25608 23 sed '/scope="row/!d;/tar/!d;s|.*/uget-||;s|.tar.*||;q'
pascal@24304 24 }
pascal@24304 25
devl547@6042 26 # Rules to configure and make the package.
devl547@6042 27 compile_rules()
devl547@6042 28 {
Hans-G?nter@25379 29 # 2.2.3 unrecognised:
Hans-G?nter@25379 30 # --with-gtk3
Hans-G?nter@25379 31
Hans-G?nter@22073 32 ./configure \
Hans-G?nter@22073 33 --prefix=/usr \
Hans-G?nter@22073 34 --sysconfdir=/etc \
Hans-G?nter@22073 35 --disable-gstreamer \
Hans-G?nter@22073 36 --disable-notify \
Hans-G?nter@22073 37 $CONFIGURE_ARGS \
devl547@6042 38 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
Hans-G?nter@25379 39 make -s &&
Hans-G?nter@25379 40 make install DESTDIR=$DESTDIR
devl547@6042 41 }
devl547@6042 42
devl547@6042 43 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6042 44 genpkg_rules()
devl547@6042 45 {
Hans-G?nter@25379 46 cook_copy_folders bin
Hans-G?nter@25379 47 cook_copy_folders icons
Hans-G?nter@25379 48 cook_copy_folders sounds
devl547@6042 49 }