wok view gftp/receipt @ rev 25134

updated phpeasyvcs (1.0 -> 2.0)
author Hans-G?nter Theisgen
date Wed Jun 29 10:51:43 2022 +0100 (2022-06-29)
parents bed3dd10e11f
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="gftp"
4 VERSION="2.9.1b"
5 CATEGORY="network"
6 SHORT_DESC="Small and fast FTP client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gftp.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/masneyb/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
13 SUGGESTED="gftp-lang"
14 DEPENDS="gtk+ libxml2 libssl xorg-libXdamage"
15 BUILD_DEPENDS="automake gtk+-dev libxml2-dev openssl-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/masneyb/gftp/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 --disable-textport \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 mkdir -p $fs/usr/share/applications
43 cp -a $install/usr/bin/gftp $fs/usr/bin
44 cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
45 cp -a $install/usr/share/gftp $fs/usr/share
46 chmod 755 $fs/usr/bin/gftp
48 # Copy custom bookmarks file and remove license, big logo.
49 cp -a $stuff/bookmarks $fs/usr/share/gftp
50 cp -a $stuff/gftp $fs/usr/share
51 cp -a $stuff/gftp.desktop $fs/usr/share/applications
52 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
53 $fs/usr/share/gftp/gftp-logo.xpm
54 rm -f $fs/usr/share/gftp/COPYING
55 rm -f $fs/usr/share/gftp/gftp.xpm
56 }