wok view tazpanel/receipt @ rev 15806

Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 01:35:01 2014 +0000 (2014-01-24)
parents 8330bab480c0
children 59d81c202ae9
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="1.7.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"
14 DEPENDS="busybox tazinst-gui tazinst"
15 BUILD_DEPENDS="gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src && make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/etc/init.d
28 cp -a $install/* $fs
29 # Init script use tazpanel cmdline
30 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 grep -qs tazpanel $1/etc/hosts ||
37 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts
38 }