wok view gftp/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents d1c17bd2c2bc
children bed3dd10e11f
line source
1 # SliTaz package receipt.
3 PACKAGE="gftp"
4 VERSION="2.0.19"
5 CATEGORY="network"
6 SHORT_DESC="Small and fast FTP client."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gftp.org/"
11 WGET_URL="http://www.gftp.org/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/masneyb/gftp/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr --mandir=/usr/share/man \
28 --disable-ssl --disable-textport \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin $fs/usr/share/applications
39 cp -a $install/usr/bin/gftp $fs/usr/bin
40 cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
41 cp -a $install/usr/share/gftp $fs/usr/share
42 chmod 755 $fs/usr/bin/gftp
44 # Copy custom bookmarks file and remove license, big logo.
45 cp -a $stuff/bookmarks $fs/usr/share/gftp
46 cp -a $stuff/gftp $fs/usr/share
47 cp -a $stuff/gftp.desktop $fs/usr/share/applications
48 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
49 $fs/usr/share/gftp/gftp-logo.xpm
50 rm -f $fs/usr/share/gftp/COPYING
51 rm -f $fs/usr/share/gftp/gftp.xpm
52 }