wok view wxdfast/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | 3105f866bc3e |
children | b0069c845544 |
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="http://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 }