wok-next view cookutils/receipt @ rev 19850

Finish gvfs. To reach this result: up bluez, libcdio, libical, bluez, talloc, samba, libtdb, openssh, dropbear; add libbluray, libcdio-paranoia, libnfs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 31 03:20:51 2017 +0300 (2017-08-31)
parents 2a1b70deab76
children d57d8c4514f4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cookutils"
4 VERSION="962"
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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
15 SPLIT="cookutils-daemon"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make DESTDIR=$install install
22 #Symlink cooker to busybox httpd server root
23 ln -s cgi-bin/cooker $install/var/www/cooker
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 TAGS="slitaz"
30 case $PACKAGE in
31 cookutils)
32 copy '*/'; rm -r $fs/etc/init.d
33 DEPENDS="sdft lzma 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 # Pre and post install commands for Tazpkg.
44 post_install_cookutils()
45 {
46 case "$(cat "$1/etc/hostname" 2>/dev/null)" in
47 tank*)
48 if ! chroot "$1/" tazpkg list | grep -q aufs ; then
49 tazpkg get-install aufs --root="$1/"
50 sed -i 's/LOAD_MODULES="/&aufs /' "$1/etc/rcS.conf"
51 fi
52 ;;
53 esac
54 }