wok-4.x rev 12367
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:24:30 2013 +0100 (2013-01-02) |
parents | 0eefa06c6e29 |
children | ee3986615c83 |
files | clamtk/receipt |
line diff
1.1 --- a/clamtk/receipt Wed Dec 26 20:52:02 2012 +0000 1.2 +++ b/clamtk/receipt Wed Jan 02 14:24:30 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