wok annotate tazpanel/receipt @ rev 15858
Up: audacious-plugins to 3.4.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 29 20:11:11 2014 +0000 (2014-01-29) |
parents | 8330bab480c0 |
children | 59d81c202ae9 |
rev | line source |
---|---|
pankso@9632 | 1 # SliTaz package receipt. |
pankso@9632 | 2 |
pankso@9632 | 3 PACKAGE="tazpanel" |
pascal@15765 | 4 VERSION="1.7.1" |
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" |
pascal@15613 | 15 BUILD_DEPENDS="gettext" |
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 } |