wok diff slitaz-configs/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents 727f65a6191b
children b042fcb86c79
line diff
     1.1 --- a/slitaz-configs/receipt	Tue Jul 16 20:16:33 2013 +0300
     1.2 +++ b/slitaz-configs/receipt	Sat Aug 03 17:37:48 2013 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-configs"
     1.7 -VERSION="5.1.5"
     1.8 +VERSION="5.1.6"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz config files and artwork."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -14,23 +14,30 @@
    1.13  DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
    1.14  transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
    1.15  
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	make DESTDIR=$DESTDIR menu
    1.20 +	ln -s menu.en.xml $install/etc/xdg/openbox/menu.xml
    1.21 +}
    1.22 +
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	# Copy rootfs files from the stuff and set permissions.
    1.27  	mkdir -p $fs/etc/xdg/openbox $fs/usr/share
    1.28 -	for f in menu.en.xml menu.xml autostart environment rc.xml
    1.29 -	do
    1.30 -		cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
    1.31 -	done
    1.32 +	cp -a $src/rootfs/etc/xdg/openbox $fs/etc/xdg
    1.33 +
    1.34  	# /usr/share
    1.35  	for i in applications lxdm slim slitaz
    1.36  	do
    1.37  		cp -r $src/rootfs/usr/share/$i $fs/usr/share
    1.38  	done
    1.39 +
    1.40  	cp -a $src/rootfs/usr/bin $fs/usr
    1.41  	cp -a $src/rootfs/etc/lxpanel $fs/etc
    1.42  	cp -a $src/rootfs/etc/slitaz $fs/etc
    1.43 +
    1.44  	chown -R root.root $fs
    1.45  }
    1.46