wok-6.x view uget/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 095836df71b7 |
children | ca38ecbe9976 |
line source
1 # SliTaz package receipt.
3 PACKAGE="uget"
4 VERSION="2.2.1"
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://sourceforge.net/projects/urlget/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/urlget/$TARBALL"
14 DEPENDS="curl glib gtk+3 pcre"
15 BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget --no-check-certificate -O - ${WEB_SITE}downloads/ 2>/dev/null | \
21 sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --disable-gstreamer \
31 --disable-notify \
32 --with-gtk3 \
33 $CONFIGURE_ARGS \
34 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
35 make -j2 -s &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr/
45 cp -a $install/usr/share/applications/ $fs/usr/share
46 cp -a $install/usr/share/icons/ $fs/usr/share
47 cp -a $install/usr/share/sounds/ $fs/usr/share
48 }