wok view wxdfast/receipt @ rev 25469

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 07 09:15:33 2022 +0000 (19 months ago)
parents d765616e1f3d
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="wxdfast"
4 VERSION="0.6.0"
5 CATEGORY="network"
6 SHORT_DESC="Download Manager."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WEB_SITE="https://dfast.sourceforge.net/index.html"
11 WGET_URL="$SF_MIRROR/dfast/$TARBALL"
13 DEPENDS="wxWidgets28 xorg-libXdamage xorg-libXxf86vm"
14 BUILD_DEPENDS="wxWidgets28-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/dfast/files/wxDownload%20Fast/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/wxDownload%20Fast/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr \
37 $fs/usr/share \
38 $fs/usr/share/locale
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/wxdfast $fs/usr/share
42 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $install/usr/share/pixmaps $fs/usr/share
44 cp -a $install/usr/share/applications $fs/usr/share
45 }