wok view tazpanel/receipt @ rev 15480
memtest: default setup size = 4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:19:32 2013 +0000 (2013-11-10) |
parents | 9125bfb60ae2 |
children | 12d5d6943718 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.6.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
14 DEPENDS="busybox tazinst-gui tazinst"
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src && make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/etc/init.d
28 cp -a $install/* $fs
29 # Init script use tazpanel cmdline
30 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 grep -qs tazpanel $1/etc/hosts ||
37 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
38 }