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