wok-next rev 19734
Up cookutils(905) (v2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 27 16:29:45 2017 +0300 (2017-05-27) |
parents | 2c48a1f40bb6 |
children | 4550df96633d |
files | cookutils-daemon/receipt cookutils/receipt |
line diff
1.1 --- a/cookutils-daemon/receipt Fri May 26 16:40:11 2017 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,19 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="cookutils-daemon" 1.7 -VERSION="904" 1.8 -CATEGORY="system-tools" 1.9 -SHORT_DESC="SliTaz Cooker daemon script for build host." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -LICENSE="GPL3" 1.12 -WEB_SITE="http://www.slitaz.org/" 1.13 -TAGS="slitaz" 1.14 - 1.15 -WANTED="cookutils" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/etc 1.21 - cp -a $install/etc/init.d $fs/etc 1.22 -}
2.1 --- a/cookutils/receipt Fri May 26 16:40:11 2017 +0300 2.2 +++ b/cookutils/receipt Sat May 27 16:29:45 2017 +0300 2.3 @@ -1,9 +1,9 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="cookutils" 2.8 -VERSION="904" 2.9 +VERSION="905" 2.10 CATEGORY="base-system" 2.11 -SHORT_DESC="SliTaz packages builder new generation." 2.12 +SHORT_DESC="SliTaz packages builder new generation" 2.13 MAINTAINER="pankso@slitaz.org" 2.14 LICENSE="GPL3" 2.15 WEB_SITE="http://www.slitaz.org/" 2.16 @@ -13,31 +13,35 @@ 2.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.18 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2" 2.19 2.20 -DEPENDS="sdft lzma bzip2 tazpkg cacerts openssl" 2.21 SPLIT="cookutils-daemon" 2.22 2.23 # Rules to configure and make the package. 2.24 compile_rules() 2.25 { 2.26 make DESTDIR=$install install 2.27 + 2.28 + #Symlink cooker to busybox httpd server root 2.29 + ln -s cgi-bin/cooker $install/var/www/cooker 2.30 } 2.31 2.32 # Rules to gen a SliTaz package suitable for Tazpkg. 2.33 genpkg_rules() 2.34 { 2.35 - mkdir -p $fs 2.36 - cp -a $install/* $fs 2.37 - 2.38 - #Symlink cooker to busybox httpd server root 2.39 - cd $fs/var/www 2.40 - ln -s cgi-bin/cooker 2.41 - 2.42 - # Daemon goes in cookutils-daemon 2.43 - rm -rf $fs/etc/init.d 2.44 + case $PACKAGE in 2.45 + cookutils) 2.46 + copy '*/'; rm -r $fs/etc/init.d 2.47 + DEPENDS="sdft lzma bzip2 tazpkg cacerts openssl" 2.48 + ;; 2.49 + cookutils-daemon) 2.50 + COOKOPTS="!menus" 2.51 + copy init.d/ 2.52 + CAT="system-tools|daemon script for build host" 2.53 + ;; 2.54 + esac 2.55 } 2.56 2.57 # Pre and post install commands for Tazpkg. 2.58 -post_install() 2.59 +post_install_cookutils() 2.60 { 2.61 case "$(cat "$1/etc/hostname" 2>/dev/null)" in 2.62 tank*)