wok diff ovz-web-panel/receipt @ rev 19765
xfig, transfig: use png_set_dither with libpng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 20 09:30:03 2017 +0100 (2017-02-20) |
parents | 8873e661671a |
children | eeba7ab1dffe |
line diff
1.1 --- a/ovz-web-panel/receipt Sat Dec 07 06:59:03 2013 +0000 1.2 +++ b/ovz-web-panel/receipt Mon Feb 20 09:30:03 2017 +0100 1.3 @@ -15,7 +15,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 # Apply patches 1.9 while read patch_file; do 1.10 if [ -f done.$patch_file ]; then 1.11 @@ -36,29 +35,28 @@ 1.12 genpkg_rules() 1.13 { 1.14 mkdir -p $fs/usr/share \ 1.15 - $fs/etc 1.16 - 1.17 + $fs/etc 1.18 + 1.19 cp -a $install $fs/usr/share/$PACKAGE 1.20 cp -a $fs/usr/share/$PACKAGE/config/owp.conf.sample $fs/etc/owp.conf 1.21 cp -a $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini.sample $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini 1.22 - 1.23 + 1.24 # Set secret key 1.25 sed -i 's/secret/2918b7aafc1f5f753ee232a7e7f78175/' \ 1.26 $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini 1.27 - 1.28 + 1.29 # Set program homedir 1.30 sed -i 's!/opt!/usr/share!' $fs/etc/owp.conf 1.31 - 1.32 + 1.33 # Fix perms 1.34 chmod 755 $fs/usr/share/$PACKAGE/script/owp 1.35 - 1.36 + 1.37 # Cleaning. 1.38 rm -f $fs/usr/share/$PACKAGE/done.*.u 1.39 } 1.40 1.41 post_install() 1.42 { 1.43 - echo "Processing post-install commands..." 1.44 chroot "$1/" ln -s /usr/share/$PACKAGE/script/owp /etc/init.d/owp 1.45 } 1.46