wok diff libmateweather/receipt @ rev 17736
prelink: force libpthread link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:45:18 2015 +0100 (2015-03-06) |
parents | 3813a852fc26 |
children | e863f2041090 |
line diff
1.1 --- a/libmateweather/receipt Tue Mar 03 23:19:00 2015 -0300 1.2 +++ b/libmateweather/receipt Fri Mar 06 12:45:18 2015 +0100 1.3 @@ -30,6 +30,20 @@ 1.4 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr 1.8 + mkdir -p $fs/usr/lib $fs/usr/share 1.9 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.10 cp -a $install/usr/share $fs/usr 1.11 } 1.12 + 1.13 +# Post install/remove commands for Tazpkg. 1.14 +post_install() 1.15 +{ 1.16 + echo "Processing post-install commands..." 1.17 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.18 +} 1.19 + 1.20 +post_remove() 1.21 +{ 1.22 + echo "Processing post-remove commands..." 1.23 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 1.24 +}