wok annotate slitaz-configs/receipt @ rev 15021

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