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