wok-current view uget/receipt @ rev 24685

updated jasper and jasper-dev (2.0.16 -> 3.0.2)
author Hans-G?nter Theisgen
date Sat Mar 12 11:11:48 2022 +0100 (2022-03-12)
parents 922f061231c2
children 870e1ce31226
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://ugetdm.com/"
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 }