wok-current annotate tazpanel/receipt @ rev 14686
enlightenment-backgrounds: Up to 0.17.3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:22 2013 +0200 (2013-06-06) |
parents | cab6c08f740b |
children | 5286a067ac76 |
rev | line source |
---|---|
pankso@9632 | 1 # SliTaz package receipt. |
pankso@9632 | 2 |
pankso@9632 | 3 PACKAGE="tazpanel" |
pascal@14233 | 4 VERSION="1.6.3" |
pankso@9632 | 5 CATEGORY="system-tools" |
pankso@9632 | 6 SHORT_DESC="SliTaz administration and configuration panel." |
pankso@9632 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9632 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9632 | 9 WEB_SITE="http://www.slitaz.org/" |
Christian@12110 | 10 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz" |
pascal@10343 | 11 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf" |
pankso@9632 | 12 |
pascal@14233 | 13 DEPENDS="busybox tazinst-gui tazinst" |
pankso@9632 | 14 BUILD_DEPENDS="" |
pankso@9632 | 15 |
pankso@9632 | 16 # Rules to configure and make the package. |
pankso@9632 | 17 compile_rules() |
pankso@9632 | 18 { |
pankso@10844 | 19 cd $src && make && |
pankso@10845 | 20 make DESTDIR=$DESTDIR install |
pankso@9632 | 21 } |
pankso@9632 | 22 |
pankso@9632 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9632 | 24 genpkg_rules() |
pankso@9632 | 25 { |
pankso@9632 | 26 mkdir -p $fs/etc/init.d |
pankso@10842 | 27 cp -a $install/* $fs |
pankso@9632 | 28 # Init script use tazpanel cmdline |
pankso@9632 | 29 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel . |
pankso@9632 | 30 } |
pascal@11360 | 31 |
pascal@11360 | 32 # Pre and post install commands for Tazpkg. |
pascal@11360 | 33 post_install() |
pascal@11360 | 34 { |
pascal@11360 | 35 grep -qs tazpanel $1/etc/hosts || |
pascal@11360 | 36 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts |
pascal@11360 | 37 } |