wok-6.x diff zim/receipt @ rev 17424
icedtea6-jdk: use automake --add-missing
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 05 00:06:05 2014 +0100 (2014-12-05) |
parents | 78cb1e930abd |
children | 7390f8de9846 |
line diff
1.1 --- a/zim/receipt Sat Sep 07 15:59:12 2013 +0000 1.2 +++ b/zim/receipt Fri Dec 05 00:06:05 2014 +0100 1.3 @@ -17,24 +17,14 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 ./setup.py install --root=$DESTDIR install 1.9 } 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg. 1.12 genpkg_rules() 1.13 { 1.14 - mkdir -p $fs/usr 1.15 - cp -a $install/usr $fs 1.16 + mkdir -p $fs/usr/share 1.17 + cp -a $install/usr/bin $fs/usr 1.18 + cp -a $install/usr/lib $fs/usr 1.19 + cp -a $install/usr/share/zim $fs/usr/share 1.20 } 1.21 - 1.22 -post_install() 1.23 -{ 1.24 - echo -n "Processing post-install commands..." 1.25 - # Create mimeinfo.cache in /usr/share/applications 1.26 - chroot "$1/" update-desktop-database 1.27 - chroot "$1/" /usr/bin/update-mime-database /usr/share/mime 1.28 - chroot "$1/" xdg-icon-resource install --context mimetypes \ 1.29 ---size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook 1.30 - status 1.31 -}