wok-6.x rev 24410

updated clamtk (5.27 -> 6.14)
author Hans-G?nter Theisgen
date Wed Feb 09 14:43:22 2022 +0100 (2022-02-09)
parents 152a2b1f89c3
children 65d7d867e0c1
files clamtk-lang/receipt clamtk/description.txt clamtk/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clamtk-lang/receipt	Wed Feb 09 14:43:22 2022 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="clamtk-lang"
     1.7 +VERSION="6.14"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="https://github.com/dave-theunsub/clamtk"
    1.13 +
    1.14 +WANTED="clamtk"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	for mofile in $src/po/*.mo
    1.20 +	  do
    1.21 +		install -Dm644 $mofile \
    1.22 +			$fs/usr/share/locale/$(basename $mofile .mo)/LC_MESSAGES/clamtk.mo
    1.23 +	done
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/clamtk/description.txt	Wed Feb 09 14:43:22 2022 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +ClamTk is a frontend for ClamAV (Clam Antivirus).
     2.5 +It is intended to be an easy to use, light-weight, on-demand scanner
     2.6 +for Linux systems.
     3.1 --- a/clamtk/receipt	Wed Feb 09 14:21:34 2022 +0100
     3.2 +++ b/clamtk/receipt	Wed Feb 09 14:43:22 2022 +0100
     3.3 @@ -1,20 +1,21 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="clamtk"
     3.7 -VERSION="5.27"
     3.8 +VERSION="6.14"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
    3.11  MAINTAINER="slaxemulator@gmail.com"
    3.12  LICENSE="GPL"
    3.13 -WEB_SITE="http://clamtk.sourceforge.net/"
    3.14 +WEB_SITE="https://github.com/dave-theunsub/clamtk"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.17 -#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.18 -WGET_URL="https://bitbucket.org/davem_/$PACKAGE/downloads/$TARBALL"
    3.19 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    3.20  
    3.21 -DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
    3.22 -perl-json perl-libwww perl-locale-gettext perl-lwp-protocol-https \
    3.23 -perl-net-dns perl-net-ssleay perl-text-csv perl-try-tiny udev slitaz-icon"
    3.24 +SUGGESTED="clamtk-lang"
    3.25 +DEPENDS="clamav perl perl-date-calc perl-file-find-rule perl-gtk2
    3.26 +	perl-json perl-libwww perl-locale-gettext perl-lwp-protocol-https
    3.27 +	perl-net-dns perl-net-ssleay perl-text-csv perl-try-tiny udev
    3.28 +	slitaz-icon"
    3.29  BUILD_DEPENDS=""
    3.30  
    3.31  # What is the latest version available today?
    3.32 @@ -33,23 +34,21 @@
    3.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.34  genpkg_rules()
    3.35  {
    3.36 -	install -Dm755  $src/clamtk $fs/usr/bin/clamtk
    3.37 +	install -Dm755  $src/clamtk	$fs/usr/bin/clamtk
    3.38  
    3.39 -	# libs
    3.40 -	PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    3.41 -	for n in $src/lib/* ; do
    3.42 -		install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
    3.43 -	done
    3.44 +	# libraries
    3.45 +	PERL_VER=$(grep ^VERSION= $WOK/perl/receipt)
    3.46 +	PERL_VER=${PERL_VER#*\"}
    3.47 +	PERL_VER=${PERL_VER%\"*}
    3.48 +	for n in $src/lib/*
    3.49 +	  do
    3.50 +		install -Dm644 $n	$fs/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n)
    3.51 +	  done
    3.52    
    3.53 -	#localization
    3.54 -	for n in $src/po/*.mo ; do
    3.55 -		install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
    3.56 -	done
    3.57 +	# pixmaps
    3.58 +	install -Dm644 $src/images/clamtk.xpm	$fs/usr/share/pixmaps/clamtk.xpm
    3.59 +	install -Dm644 $src/images/clamtk.png	$fs/usr/share/pixmaps/clamtk.png
    3.60  
    3.61 -	# pixmaps
    3.62 -	install -Dm644 $src/images/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
    3.63 -	install -Dm644 $src/images/clamtk.png $fs/usr/share/pixmaps/clamtk.png
    3.64 -  
    3.65  	# menu
    3.66 -	install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
    3.67 +	install -Dm644 $src/clamtk.desktop	$fs/usr/share/applications/clamtk.desktop
    3.68  }