wok view slitaz-configs/receipt @ rev 12688
Update: ophcrack (3.4.0)
author | Cedric Tissieres <slitaz@objectif-securite.ch> |
---|---|
date | Wed May 02 14:55:06 2012 +0200 (2012-05-02) |
parents | 7fed8c0a235d |
children | d53ecda155fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://mirror.slitaz.org/sources/configs/$PACKAGE-$VERSION.tar.gz"
12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
13 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # Copy rootfs files from the stuff and set permissions.
19 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
20 for f in menu.en.xml menu.xml autostart environment rc.xml
21 do
22 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
23 done
24 # /usr/share
25 for i in applications lxdm slim slitaz
26 do
27 cp -r $src/rootfs/usr/share/$i $fs/usr/share
28 done
29 cp -a $src/rootfs/etc/lxpanel $fs/etc
30 chown -R root.root $fs
31 }
33 post_install()
34 {
35 # By default slim provide a base theme and config file have both
36 # base and slitaz who will be choose randomly, so make sure we use
37 # only slitaz theme.
38 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
39 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
40 $1/etc/slim.conf
41 fi
42 }