wok view uget/receipt @ rev 24004
Up tazinst (110)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 17 17:23:12 2021 +0000 (2021-01-17) |
parents | 5533699cb28a |
children | 922f061231c2 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --disable-gstreamer \
24 --disable-notify \
25 --with-gtk3 \
26 $CONFIGURE_ARGS \
27 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
28 make -j2 -s &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr/
38 cp -a $install/usr/share/applications/ $fs/usr/share
39 cp -a $install/usr/share/icons/ $fs/usr/share
40 cp -a $install/usr/share/sounds/ $fs/usr/share
41 }