wok view uget/receipt @ rev 25444

Up firefox-official (104.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 04 18:56:05 2022 +0000 (21 months ago)
parents ca38ecbe9976
children b81ceff0b056
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 --no-check-certificate -O - ${WEB_SITE}downloads/ 2>/dev/null | \
22 sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 2.2.3 unrecognised:
29 # --with-gtk3
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --disable-gstreamer \
35 --disable-notify \
36 $CONFIGURE_ARGS \
37 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
38 make -s &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders icons
47 cook_copy_folders sounds
48 }