wok-next diff monkey/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | 4396aed7eb01 |
children | d5aab818505e |
line diff
1.1 --- a/monkey/receipt Wed Mar 07 19:43:44 2018 +0200 1.2 +++ b/monkey/receipt Wed Jun 06 19:59:31 2018 +0300 1.3 @@ -15,6 +15,7 @@ 1.4 SPLIT="monkey-dev" 1.5 1.6 compile_rules() { 1.7 + # site script isn't used 1.8 ./configure \ 1.9 --enable-shared \ 1.10 --prefix=/usr \ 1.11 @@ -25,24 +26,15 @@ 1.12 --mandir=/usr/share/man \ 1.13 --plugdir=/usr/share/monkey/plugins && 1.14 make && 1.15 - make DESTDIR=$install install 1.16 + make DESTDIR=$install install || return 1 1.17 + 1.18 + mkdir -p $install/usr/share/monkey/samples/ 1.19 + mv $install/var/www $install/usr/share/monkey/samples/htdocs 1.20 } 1.21 1.22 genpkg_rules() { 1.23 case $PACKAGE in 1.24 - monkey) 1.25 - mkdir -p $fs/usr 1.26 - cp -a $install/usr/bin $fs/usr/ 1.27 - cp -a $install/usr/share $fs/usr/ 1.28 - cp -a $install/etc $fs/ 1.29 - cp -a $install/var $fs/ 1.30 - mkdir -p $fs/usr/share/monkey/samples 1.31 - mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs 1.32 - ;; 1.33 - *-dev) 1.34 - mkdir -p $fs/usr 1.35 - cp -a $install/usr/include $fs/usr 1.36 - cp -a $install/usr/lib $fs/usr 1.37 - ;; 1.38 + monkey) copy @std;; 1.39 + *-dev) copy @dev;; 1.40 esac 1.41 }