wok diff dia/receipt @ rev 18529
stfl: add libstfl.so.0 link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 27 09:24:12 2015 +0100 (2015-10-27) |
parents | 380ffe05937a |
children | 188a05620c45 |
line diff
1.1 --- a/dia/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/dia/receipt Tue Oct 27 09:24:12 2015 +0100 1.3 @@ -20,7 +20,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.9 sed -i 's|stdio.h>|&\n#include <sys/stat.h>|' plug-ins/vdx/vdx-export.c 1.10 patch -Np1 -i $stuff/dia-overflow-fix.patch 1.11 @@ -35,17 +34,15 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 - mkdir -p $fs/usr/lib $fs/usr/share/locale 1.16 - cp -a $install/usr/lib/dia $fs/usr/lib 1.17 + mkdir -p $fs/usr/lib/dia $fs/usr/share 1.18 + 1.19 + cp -a $install/usr/bin $fs/usr 1.20 + cp -a $install/usr/lib/dia/*.so $fs/usr/lib/dia 1.21 + cp -a $install/usr/share/applications $fs/usr/share 1.22 cp -a $install/usr/share/dia $fs/usr/share 1.23 + cp -a $install/usr/share/icons $fs/usr/share 1.24 + rm -r $fs/usr/share/icons/hicolor/scalable 1.25 +# cp -a $install/usr/share/locale $fs/usr/share 1.26 + cp -a $install/usr/share/mime-info $fs/usr/share 1.27 cp -a $install/usr/share/oaf $fs/usr/share 1.28 - #cp -a $install/usr/share/omf $fs/usr/share 1.29 - cp -a $install/usr/share/locale/de $fs/usr/share/locale 1.30 - cp -a $install/usr/share/locale/fr $fs/usr/share/locale 1.31 - #cp -a $install/usr/share/help $fs/usr/share 1.32 - cp -a $install/usr/share/applications $fs/usr/share 1.33 - cp -a $install/usr/share/mime-info $fs/usr/share 1.34 - cp -a $install/usr/share/icons/hicolor/16x16/apps/dia.png $fs/usr/share/pixmaps 1.35 - cp -a $install/usr/bin $fs/usr 1.36 } 1.37 -