wok-6.x annotate tazpanel/receipt @ rev 11958
Fix: update gdk pixbuf loaders cache file properly
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 18 00:36:14 2012 +0100 (2012-02-18) |
parents | a2214092351d |
children | a966feee57b3 |
rev | line source |
---|---|
pankso@9632 | 1 # SliTaz package receipt. |
pankso@9632 | 2 |
pankso@9632 | 3 PACKAGE="tazpanel" |
pascal@11617 | 4 VERSION="1.2.1" |
pankso@9632 | 5 CATEGORY="system-tools" |
pankso@9632 | 6 SHORT_DESC="SliTaz administration and configuration panel." |
pankso@9632 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@9632 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@9632 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@9632 | 10 WGET_URL="http://mirror.slitaz.org/sources/$PACKAGE/$TARBALL" |
pascal@10343 | 11 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf" |
pankso@9632 | 12 |
pankso@9632 | 13 DEPENDS="busybox" |
pankso@9632 | 14 BUILD_DEPENDS="" |
pankso@9632 | 15 |
pankso@9632 | 16 # Rules to configure and make the package. |
pankso@9632 | 17 compile_rules() |
pankso@9632 | 18 { |
pankso@10844 | 19 cd $src && make && |
pankso@10845 | 20 make DESTDIR=$DESTDIR install |
pankso@9632 | 21 } |
pankso@9632 | 22 |
pankso@9632 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9632 | 24 genpkg_rules() |
pankso@9632 | 25 { |
pankso@9632 | 26 mkdir -p $fs/etc/init.d |
pankso@10842 | 27 cp -a $install/* $fs |
pankso@9632 | 28 # Init script use tazpanel cmdline |
pankso@9632 | 29 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel . |
pankso@9632 | 30 } |
pascal@11360 | 31 |
pascal@11360 | 32 # Pre and post install commands for Tazpkg. |
pascal@11360 | 33 post_install() |
pascal@11360 | 34 { |
pascal@11360 | 35 grep -qs tazpanel $1/etc/hosts || |
pascal@11360 | 36 sed -i 's/^127.0.0.1.*/& tazpanel/' $1/etc/hosts |
pascal@11360 | 37 } |