wok-next view tazpanel/receipt @ rev 15614
cairo-compmgr-core, jfsutils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 08:06:26 2013 +0000 (2013-12-08) |
parents | 5286a067ac76 |
children | 8330bab480c0 |
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="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 }