wok view tazpanel/receipt @ rev 11925
dropbox removed extension from desktop file
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 15:12:55 2012 -0800 (2012-02-29) |
parents | afa1d6d17c83 |
children | bd26076a2af9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.4"
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 }