wok view tazpanel/receipt @ rev 15982

syslinux-tools: add meminfo.exe (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 01 19:54:32 2014 +0000 (2014-03-01)
parents fd4def7197de
children 57ea1afa4f79
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.8"
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="gettext"
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 }