wok diff gftp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents af8d823a3077
children 7a66d92a9bde
line diff
     1.1 --- a/gftp/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/gftp/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gftp"
     1.7 -VERSION="2.0.19"
     1.8 +VERSION="2.9.1b"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Small and fast FTP client."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.gftp.org/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://www.gftp.org/"
    1.16 -WGET_URL="http://www.gftp.org/$TARBALL"
    1.17 +WGET_URL="https://github.com/masneyb/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    1.18  
    1.19 -DEPENDS="gtk+ xorg-libXdamage"
    1.20 -BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
    1.21 +SUGGESTED="gftp-lang"
    1.22 +DEPENDS="gtk+ libxml2 xorg-libXdamage"
    1.23 +BUILD_DEPENDS="automake gtk+-dev libxml2-dev pkg-config"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -23,30 +24,34 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.33 -	--disable-ssl --disable-textport \
    1.34 -	$CONFIGURE_ARGS &&
    1.35 +	./autogen.sh &&
    1.36 +	./configure			\
    1.37 +		--prefix=/usr		\
    1.38 +		--mandir=/usr/share/man	\
    1.39 +		--disable-ssl		\
    1.40 +		--disable-textport	\
    1.41 +		$CONFIGURE_ARGS &&
    1.42  	make &&
    1.43 -	make DESTDIR=$DESTDIR install
    1.44 +	make install DESTDIR=$DESTDIR
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p $fs/usr/bin $fs/usr/share/applications
    1.51 +	mkdir -p $fs/usr/bin
    1.52 +	mkdir -p $fs/usr/share/applications
    1.53  
    1.54 -	cp -a $install/usr/bin/gftp $fs/usr/bin
    1.55 -	cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
    1.56 -	cp -a $install/usr/share/gftp $fs/usr/share
    1.57 -	chmod 755 $fs/usr/bin/gftp
    1.58 +	cp -a $install/usr/bin/gftp	$fs/usr/bin
    1.59 +	cp -a $install/usr/bin/gftp-gtk	$fs/usr/bin
    1.60 +	cp -a $install/usr/share/gftp	$fs/usr/share
    1.61 +	chmod 755			$fs/usr/bin/gftp
    1.62  
    1.63  	# Copy custom bookmarks file and remove license, big logo.
    1.64 -	cp -a $stuff/bookmarks $fs/usr/share/gftp
    1.65 -	cp -a $stuff/gftp $fs/usr/share
    1.66 -	cp -a $stuff/gftp.desktop $fs/usr/share/applications
    1.67 +	cp -a $stuff/bookmarks		$fs/usr/share/gftp
    1.68 +	cp -a $stuff/gftp		$fs/usr/share
    1.69 +	cp -a $stuff/gftp.desktop	$fs/usr/share/applications
    1.70  	ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
    1.71 -		$fs/usr/share/gftp/gftp-logo.xpm
    1.72 -	rm -f $fs/usr/share/gftp/COPYING
    1.73 -	rm -f $fs/usr/share/gftp/gftp.xpm
    1.74 +					$fs/usr/share/gftp/gftp-logo.xpm
    1.75 +	rm -f				$fs/usr/share/gftp/COPYING
    1.76 +	rm -f				$fs/usr/share/gftp/gftp.xpm
    1.77  }