wok-current view tazpanel/receipt @ rev 15432

Up: eina (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:26 2013 +0100 (2013-11-05)
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 }