wok-next view clamtk/receipt @ rev 20623

Our udev is old, current udev is a part of systemd; use eudev instead of (old) udev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 22:28:07 2018 +0300 (2018-04-25)
parents ded7bc956f55
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clamtk"
4 VERSION="4.36"
5 CATEGORY="network"
6 SHORT_DESC="ClamTk is a GUI front-end for ClamAV using gtk2-perl"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://clamtk.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 install -Dm755 $src/clamtk $install/usr/bin/clamtk
17 # libs
18 PERL_VER=$(. $WOK/perl/receipt; echo $VERSION)
19 for n in $src/lib/*; do
20 install -Dm644 $n $install/usr/lib/perl5/$PERL_VER/ClamTk/$(basename $n)
21 done
23 #localization
24 for n in $src/po/*.mo; do
25 install -Dm644 $n $install/usr/share/locale/$(basename $n .mo)/LC_MESSAGES/clamtk.mo
26 done
28 # pixmaps
29 install -Dm644 $src/clamtk.xpm $install/usr/share/pixmaps/clamtk.xpm
30 install -Dm644 $src/clamtk.png $install/usr/share/pixmaps/clamtk.png
32 # menu
33 install -Dm644 $src/clamtk.desktop $install/usr/share/applications/clamtk.desktop
35 cook_pick_manpages clamtk.1.gz
36 }
38 genpkg_rules() {
39 copy @std *.mo
40 DEPENDS="clamav perl-gtk2 perl perl-date-calc perl-file-find-rule \
41 perl-libwww-perl perl-locale-gettext perl-net-dns eudev"
42 }