wok-current annotate tazpanel/receipt @ rev 17217

Up: file (5.20).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 11:50:51 2014 +0300 (2014-10-14)
parents 6cc661da10ce
children be5709551b21
rev   line source
pankso@9632 1 # SliTaz package receipt.
pankso@9632 2
pankso@9632 3 PACKAGE="tazpanel"
al@16785 4 VERSION="1.8.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@16037 13 HOST_ARCH="i486 arm"
pankso@9632 14
pankso@16040 15 SUGGESTED="tazinst-gui tazinst"
pankso@16040 16 DEPENDS="busybox"
pankso@16040 17 BUILD_DEPENDS=""
pankso@9632 18
pankso@9632 19 # Rules to configure and make the package.
pankso@9632 20 compile_rules()
pankso@9632 21 {
pankso@16040 22 make && make DESTDIR=$DESTDIR install
pankso@9632 23 }
pankso@9632 24
pankso@9632 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9632 26 genpkg_rules()
pankso@9632 27 {
pankso@9632 28 mkdir -p $fs/etc/init.d
pankso@10842 29 cp -a $install/* $fs
psychomaniak@16974 30 sed -i 's/0 4px #ddd, 0 0 0 4px/2px 4px/g' \
psychomaniak@16972 31 $fs/var/www/tazpanel/styles/default/style.css
psychomaniak@17051 32 sed -i 's|/var/log/slim.log|/tmp/X-output|g' \
psychomaniak@17051 33 $fs/var/www/tazpanel/boot.cgi
pankso@9632 34 # Init script use tazpanel cmdline
pankso@9632 35 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
pankso@9632 36 }
pascal@11360 37
pascal@11360 38 # Pre and post install commands for Tazpkg.
pascal@11360 39 post_install()
pascal@11360 40 {
pascal@11360 41 grep -qs tazpanel $1/etc/hosts ||
pascal@11360 42 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
pascal@11360 43 }