wok view uget/receipt @ rev 25690
mmv: inserted current_version()
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 15 15:20:24 2024 +0100 (6 months ago) |
parents | 348478407936 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="2.2.3"
5 CATEGORY="network"
6 SHORT_DESC="Download manager using gtk+ and libcurl."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://web.archive.org/web/20220621150801/https://sourceforge.net/projects/urlget/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/urlget/$PACKAGE-$VERSION-1.tar.gz"
14 SUGGESTED="uget-lang"
15 DEPENDS="curl glib gtk+3 pcre"
16 BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/urlget/files/uget%20%28stable%29/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;/tar/!d;s|.*/uget-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # 2.2.3 unrecognised:
30 # --with-gtk3
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --disable-gstreamer \
36 --disable-notify \
37 $CONFIGURE_ARGS \
38 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
39 make -s &&
40 make install DESTDIR=$DESTDIR
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 cook_copy_folders icons
48 cook_copy_folders sounds
49 }