wok annotate tazpanel/receipt @ rev 15022

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 19:53:39 2013 +0000 (2013-08-11)
parents 9125bfb60ae2
children 12d5d6943718
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"
pascal@15022 8 LICENSE="BSD"
pankso@9632 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@9632 10 WEB_SITE="http://www.slitaz.org/"
Christian@12110 11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
pascal@10343 12 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
pankso@9632 13
pascal@14233 14 DEPENDS="busybox tazinst-gui tazinst"
pankso@9632 15 BUILD_DEPENDS=""
pankso@9632 16
pankso@9632 17 # Rules to configure and make the package.
pankso@9632 18 compile_rules()
pankso@9632 19 {
pankso@10844 20 cd $src && make &&
pankso@10845 21 make DESTDIR=$DESTDIR install
pankso@9632 22 }
pankso@9632 23
pankso@9632 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9632 25 genpkg_rules()
pankso@9632 26 {
pankso@9632 27 mkdir -p $fs/etc/init.d
pankso@10842 28 cp -a $install/* $fs
pankso@9632 29 # Init script use tazpanel cmdline
pankso@9632 30 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
pankso@9632 31 }
pascal@11360 32
pascal@11360 33 # Pre and post install commands for Tazpkg.
pascal@11360 34 post_install()
pascal@11360 35 {
pascal@11360 36 grep -qs tazpanel $1/etc/hosts ||
pascal@11360 37 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
pascal@11360 38 }