wok-next view cookutils/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | 11ba1a743e23 |
children | 6475d1dc2a4d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cookutils"
4 VERSION="1143"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages builder new generation"
7 MAINTAINER="devel@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="$PACKAGE-daemon"
15 COOKOPTS="force-arch" # arch-dependent settings in /etc/slitaz/cook.conf
17 compile_rules() {
18 make DESTDIR=$install install || return 1
20 # Set correct architecture
21 sed -i "/^ARCH=/ s|.*|ARCH=\"$ARCH\"|" $install/etc/slitaz/cook.conf
22 # FIXME: is 'thunk-extern' supported?
23 sed -i 's|thunk-extern|thunk|' $install/etc/slitaz/cook.conf
25 #Symlink cooker to busybox httpd server root
26 ln -s cgi-bin/cooker $install/var/www/cooker
27 }
29 genpkg_rules() {
30 TAGS="slitaz"
31 case $PACKAGE in
32 cookutils)
33 copy '*/'; rm -r $fs/etc/init.d
34 DEPENDS="sdft xz bzip2 tazpkg cacerts openssl"
35 ;;
36 cookutils-daemon)
37 COOKOPTS="!menus"
38 copy init.d/
39 CAT="system-tools|daemon script for build host"
40 ;;
41 esac
42 }
44 NO_post_install_cookutils() {
45 case "$(cat "$1/etc/hostname" 2>/dev/null)" in
46 tank*)
47 if ! chroot "$1/" tazpkg list | grep -q aufs; then
48 tazpkg get-install aufs --root="$1/"
49 sed -i 's/LOAD_MODULES="/&aufs /' "$1/etc/rcS.conf"
50 fi
51 ;;
52 esac
53 }