wok-next view cookutils/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 618256f7a332 |
children | 8e7b854500ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cookutils"
4 VERSION="1073"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages builder new generation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
14 SPLIT="cookutils-daemon"
16 compile_rules() {
17 make DESTDIR=$install install
19 # Set correct architecture
20 sed -i "/^ARCH=/ s|.*|ARCH=\"$ARCH\"|" $install/etc/slitaz/cook.conf
21 # FIXME: is 'thunk-extern' supported?
22 sed -i 's|thunk-extern|thunk|' $install/etc/slitaz/cook.conf
24 #Symlink cooker to busybox httpd server root
25 ln -s cgi-bin/cooker $install/var/www/cooker
26 }
28 genpkg_rules() {
29 TAGS="slitaz"
30 case $PACKAGE in
31 cookutils)
32 copy '*/'; rm -r $fs/etc/init.d
33 DEPENDS="sdft xz bzip2 tazpkg cacerts openssl"
34 ;;
35 cookutils-daemon)
36 COOKOPTS="!menus"
37 copy init.d/
38 CAT="system-tools|daemon script for build host"
39 ;;
40 esac
41 }
43 NO_post_install_cookutils() {
44 case "$(cat "$1/etc/hostname" 2>/dev/null)" in
45 tank*)
46 if ! chroot "$1/" tazpkg list | grep -q aufs ; then
47 tazpkg get-install aufs --root="$1/"
48 sed -i 's/LOAD_MODULES="/&aufs /' "$1/etc/rcS.conf"
49 fi
50 ;;
51 esac
52 }