wok-current view slitaz-configs/receipt @ rev 10726
libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 28 20:44:37 2011 +0000 (2011-05-28) |
parents | 73551a09919b |
children | dd5e1fafc127 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="4.3.2"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
9 transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 # Copy rootfs files from the stuff and set permissions.
18 mkdir -p $fs/etc/xdg/openbox
19 for f in menu.en.xml menu.xml autostart.sh rc.xml
20 do
21 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
22 done
23 cp -a $src/rootfs/etc/lxpanel $fs/etc
24 chown -R root.root $fs
25 }
27 post_install()
28 {
29 # By default slim provide a base theme and config file have both
30 # base and slitaz who will be choose randomly, so make sure we use
31 # only slitaz theme.
32 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
33 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
34 $1/etc/slim.conf
35 fi
36 }