wok view cookutils/receipt @ rev 14198
move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 13 10:16:45 2013 +0100 (2013-03-13) |
parents | 8819aef2cbc9 |
children | ac6fab7853e3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cookutils"
4 VERSION="3.1.3"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages builder new generation."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
11 TAGS="slitaz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="mercurial"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p $DESTDIR/usr/bin $DESTDIR/etc/slitaz
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/* $fs
29 #Symlink cooker to busybox httpd server root
30 cd $fs/var/www
31 ln -s cgi-bin/cooker
32 # Daemon goes in cookutils-deamon
33 rm -rf $fs/etc/init.d
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 case "$(cat $1/etc/hostname)" in
40 tank*)
41 if ! chroot $1/ tazpkg list | grep -q aufs ; then
42 tazpkg get-install aufs --root=$1/
43 sed -i 's/LOAD_MODULES="/&aufs /' $1/etc/rcS.conf
44 fi ;;
45 esac
46 }