wok view gftp/receipt @ rev 24847
updated libusb and libusb-dev (1.0.23 -> 1.0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 14:47:40 2022 +0100 (2022-03-25) |
parents | af8d823a3077 |
children | 7a66d92a9bde |
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 xorg-libXdamage"
15 BUILD_DEPENDS="automake gtk+-dev libxml2-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-ssl \
32 --disable-textport \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/share/applications
44 cp -a $install/usr/bin/gftp $fs/usr/bin
45 cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
46 cp -a $install/usr/share/gftp $fs/usr/share
47 chmod 755 $fs/usr/bin/gftp
49 # Copy custom bookmarks file and remove license, big logo.
50 cp -a $stuff/bookmarks $fs/usr/share/gftp
51 cp -a $stuff/gftp $fs/usr/share
52 cp -a $stuff/gftp.desktop $fs/usr/share/applications
53 ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
54 $fs/usr/share/gftp/gftp-logo.xpm
55 rm -f $fs/usr/share/gftp/COPYING
56 rm -f $fs/usr/share/gftp/gftp.xpm
57 }