wok-current diff clamtk/receipt @ rev 13751
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:23:17 2013 +0100 (2013-01-02) |
parents | 6fe86b6fecff |
children | 223b265f40fd |
line diff
1.1 --- a/clamtk/receipt Sun Oct 16 22:44:10 2011 +0000 1.2 +++ b/clamtk/receipt Wed Jan 02 14:23:17 2013 +0100 1.3 @@ -19,8 +19,9 @@ 1.4 install -Dm755 $src/clamtk $fs/usr/bin/clamtk 1.5 1.6 # libs 1.7 + PERL_VER=$(grep ^VERSION= $WOK/perl/receipt | cut -d "=" -f2 | sed -e 's/"//g') 1.8 for n in $src/lib/* ; do 1.9 - install -Dm644 $n $fs/usr/share/perl5/site_perl/ClamTk/`basename $n` 1.10 + install -Dm644 $n $fs/usr/lib/perl5/$PERL_VER/ClamTk/`basename $n` 1.11 done 1.12 1.13 #localization