wok-6.x view tazpanel/receipt @ rev 14748
busybox: add musl & dietlibc patchs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:26:17 2013 +0200 (2013-06-16) |
parents | cab6c08f740b |
children | 5286a067ac76 |
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 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 tazinst-gui tazinst"
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 }