SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "clamtk"

# SliTaz package receipt.

PACKAGE="clamtk"
VERSION="4.36"
CATEGORY="network"
SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl."
MAINTAINER="slaxemulator@gmail.com"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://clamtk.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
perl-libwww perl-locale-gettext perl-net-dns udev"
BUILD_DEPENDS=""

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    install -Dm755  $src/clamtk $fs/usr/bin/clamtk

    # libs
    PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g')
    for n in $src/lib/* ; do
        install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n`
    done
  
    #localization
    for n in $src/po/*.mo ; do
        install -Dm644 $n $fs/usr/share/locale/`basename $n .mo`/LC_MESSAGES/clamtk.mo
    done

    # pixmaps
    install -Dm644 $src/clamtk.xpm $fs/usr/share/pixmaps/clamtk.xpm
    install -Dm644 $src/clamtk.png $fs/usr/share/pixmaps/clamtk.png
  
    # menu
    install -Dm644 $src/clamtk.desktop $fs/usr/share/applications/clamtk.desktop
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)