wok-next view slitaz-configs/receipt @ rev 15714
Add util-linux-eject
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Dec 24 22:10:59 2013 +0000 (2013-12-24) |
parents | b042fcb86c79 |
children | 51c71591a65b |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1.6"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/slitaz/applications.conf"
14 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
15 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make DESTDIR=$DESTDIR menu
21 ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 # Copy rootfs files from the stuff and set permissions.
28 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
29 cp -a $src/rootfs/etc/xdg/openbox $fs/etc/xdg
31 # /usr/share
32 for i in applications lxdm slim slitaz
33 do
34 cp -r $src/rootfs/usr/share/$i $fs/usr/share
35 done
37 cp -a $src/rootfs/usr/bin $fs/usr
38 cp -a $src/rootfs/etc/lxpanel $fs/etc
39 cp -a $src/rootfs/etc/slitaz $fs/etc
40 cp -a $install/etc/xdg/openbox/menu.en.xml $install/etc/xdg/openbox/menu.xml \
41 $fs/etc/xdg/openbox
43 chown -R root.root $fs
44 }
46 post_install()
47 {
48 # By default slim provide a base theme and config file have both
49 # base and slitaz who will be choose randomly, so make sure we use
50 # only slitaz theme.
51 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
52 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
53 $1/etc/slim.conf
54 fi
55 }