wok rev 24596

updated gftp (2.0.19 -> 2.9.1b)
author Hans-G?nter Theisgen
date Tue Mar 01 15:53:52 2022 +0100 (2022-03-01)
parents a1df341077ba
children 1f0f29295019
files gftp-lang/receipt gftp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gftp-lang/receipt	Tue Mar 01 15:53:52 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gftp-lang"
     1.7 +VERSION="2.9.1b"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Small and fast FTP client - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.gftp.org/"
    1.13 +
    1.14 +WANTED="gftp"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/gftp/receipt	Tue Mar 01 15:28:09 2022 +0100
     2.2 +++ b/gftp/receipt	Tue Mar 01 15:53:52 2022 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="gftp"
     2.7 -VERSION="2.0.19"
     2.8 +VERSION="2.9.1b"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Small and fast FTP client."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://www.gftp.org/"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="http://www.gftp.org/"
    2.16 -WGET_URL="http://www.gftp.org/$TARBALL"
    2.17 +WGET_URL="https://github.com/masneyb/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    2.18  
    2.19 -DEPENDS="gtk+ xorg-libXdamage"
    2.20 -BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
    2.21 +SUGGESTED="gftp-lang"
    2.22 +DEPENDS="gtk+ libxml2 xorg-libXdamage"
    2.23 +BUILD_DEPENDS="automake gtk+-dev libxml2-dev pkg-config"
    2.24  
    2.25  # What is the latest version available today?
    2.26  current_version()
    2.27 @@ -23,30 +24,34 @@
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	cd $src
    2.32 -	./configure --prefix=/usr --mandir=/usr/share/man \
    2.33 -	--disable-ssl --disable-textport \
    2.34 -	$CONFIGURE_ARGS &&
    2.35 +	./autogen.sh &&
    2.36 +	./configure			\
    2.37 +		--prefix=/usr		\
    2.38 +		--mandir=/usr/share/man	\
    2.39 +		--disable-ssl		\
    2.40 +		--disable-textport	\
    2.41 +		$CONFIGURE_ARGS &&
    2.42  	make &&
    2.43 -	make DESTDIR=$DESTDIR install
    2.44 +	make install DESTDIR=$DESTDIR
    2.45  }
    2.46  
    2.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.48  genpkg_rules()
    2.49  {
    2.50 -	mkdir -p $fs/usr/bin $fs/usr/share/applications
    2.51 +	mkdir -p $fs/usr/bin
    2.52 +	mkdir -p $fs/usr/share/applications
    2.53  
    2.54 -	cp -a $install/usr/bin/gftp $fs/usr/bin
    2.55 -	cp -a $install/usr/bin/gftp-gtk $fs/usr/bin
    2.56 -	cp -a $install/usr/share/gftp $fs/usr/share
    2.57 -	chmod 755 $fs/usr/bin/gftp
    2.58 +	cp -a $install/usr/bin/gftp	$fs/usr/bin
    2.59 +	cp -a $install/usr/bin/gftp-gtk	$fs/usr/bin
    2.60 +	cp -a $install/usr/share/gftp	$fs/usr/share
    2.61 +	chmod 755			$fs/usr/bin/gftp
    2.62  
    2.63  	# Copy custom bookmarks file and remove license, big logo.
    2.64 -	cp -a $stuff/bookmarks $fs/usr/share/gftp
    2.65 -	cp -a $stuff/gftp $fs/usr/share
    2.66 -	cp -a $stuff/gftp.desktop $fs/usr/share/applications
    2.67 +	cp -a $stuff/bookmarks		$fs/usr/share/gftp
    2.68 +	cp -a $stuff/gftp		$fs/usr/share
    2.69 +	cp -a $stuff/gftp.desktop	$fs/usr/share/applications
    2.70  	ln -sf /usr/share/gftp/gftp-mini-logo.xpm \
    2.71 -		$fs/usr/share/gftp/gftp-logo.xpm
    2.72 -	rm -f $fs/usr/share/gftp/COPYING
    2.73 -	rm -f $fs/usr/share/gftp/gftp.xpm
    2.74 +					$fs/usr/share/gftp/gftp-logo.xpm
    2.75 +	rm -f				$fs/usr/share/gftp/COPYING
    2.76 +	rm -f				$fs/usr/share/gftp/gftp.xpm
    2.77  }