wok view filezilla/receipt @ rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents e985517d6dc7
children 3d4a009ea929
line source
1 # SliTaz package receipt.
3 PACKAGE="filezilla"
4 VERSION="3.7.3"
5 CATEGORY="network"
6 TAGS="ftp client"
7 SHORT_DESC="FTP Client"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://filezilla-project.org/"
12 SOURCE="FileZilla"
13 TARBALL="${SOURCE}_${VERSION}_src.tar.bz2"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS="gnutls libidn libtasn1 libunistring sqlite wxWidgets28
17 xorg-libXxf86vm"
18 BUILD_DEPENDS="gettext gnutls-dev libgnutls libidn-dev
19 libunistring-dev sqlite-dev wxWidgets28-dev xdg-utils"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed '/ released/!d;/FileZilla Client/!d;s|.*Client ||;s| released.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-tinyxml=builtin \
36 --without-dbus \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/filezilla $fs/usr/share
50 rm -rf $fs/usr/share/fileszilla/docs
51 }