wok-6.x view cookutils/receipt @ rev 20279
8086tiny: fix DAA/DAS/shift opcodes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 23 13:08:29 2018 +0100 (2018-03-23) |
parents | 027ff114948a |
children | cf687dbfb029 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cookutils"
4 VERSION="887"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="slitaz"
13 HOST_ARCH="i486 arm"
14 CONFIG_FILES="/etc/slitaz/cook.site /etc/slitaz/cook.conf"
16 DEPENDS="sdft"
17 SPLIT="cookutils-daemon"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/usr/bin $DESTDIR/etc/slitaz
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $install/* $fs
31 #Symlink cooker to busybox httpd server root
32 cd $fs/var/www
33 ln -s cgi-bin/cooker
34 # Daemon goes in cookutils-daemon
35 rm -rf $fs/etc/init.d
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 case "$(cat "$1/etc/hostname" 2> /dev/null)" in
42 tank*)
43 if ! chroot "$1/" tazpkg list | grep -q aufs ; then
44 tazpkg get-install aufs --root="$1/"
45 sed -i 's/LOAD_MODULES="/&aufs /' "$1/etc/rcS.conf"
46 fi ;;
47 esac
48 }