wok-current view gftp/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents bed3dd10e11f
children
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 }