wok view tazpanel/receipt @ rev 17299

Add fish
Add fish-doc

This adds support and documentation for the latest fish release.
author necrophcodr <tcg.thegamer@gmail.com>
date Thu Oct 30 22:39:29 2014 +0100 (2014-10-30)
parents 6cc661da10ce
children be5709551b21
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="tazinst-gui tazinst"
16 DEPENDS="busybox"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/etc/init.d
29 cp -a $install/* $fs
30 sed -i 's/0 4px #ddd, 0 0 0 4px/2px 4px/g' \
31 $fs/var/www/tazpanel/styles/default/style.css
32 sed -i 's|/var/log/slim.log|/tmp/X-output|g' \
33 $fs/var/www/tazpanel/boot.cgi
34 # Init script use tazpanel cmdline
35 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 grep -qs tazpanel $1/etc/hosts ||
42 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
43 }