wok-6.x view tazpanel/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
parents fcdf91959237
children c791e2ee2765
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.5.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel."
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/tazpanel/archive/$VERSION.tar.gz"
11 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
13 DEPENDS="busybox"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src && make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/etc/init.d
27 cp -a $install/* $fs
28 # Init script use tazpanel cmdline
29 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 grep -qs tazpanel $1/etc/hosts ||
36 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
37 }