wok view tazpanel/receipt @ rev 11954

removed extension from desktop files
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Mar 01 07:31:38 2012 -0800 (2012-03-01)
parents bd26076a2af9
children 9b5113ea7413
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.4.2"
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://mirror.slitaz.org/sources/$PACKAGE/$TARBALL"
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 }