wok annotate lxpanel/receipt @ rev 14260

lxpanel*: up 0.5.12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 30 18:45:07 2013 +0000 (2013-03-30)
parents 0b73c72d760b
children 68d68791ced5
rev   line source
pankso@341 1 # SliTaz package receipt.
pankso@341 2
pankso@341 3 PACKAGE="lxpanel"
al@14260 4 VERSION="0.5.12"
pankso@341 5 CATEGORY="x-window"
al@14260 6 SHORT_DESC="Lightweight X11 desktop panel"
pankso@341 7 MAINTAINER="pankso@slitaz.org"
rcx@3799 8 WEB_SITE="http://www.lxde.org/"
al@14260 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14260 10 WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL"
pascal@2563 11 CONFIG_FILES="/etc/lxpanel/default"
pankso@341 12
al@14260 13 # drop: slitaz-icon lxsession
al@14260 14 DEPENDS="alsa-lib gtk+ libwnck menu-cache wireless_tools"
al@14260 15 BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \
al@14260 16 wireless_tools-dev libxml2-dev lxmenu-data"
al@14260 17 TAGS="gtk2 panel"
pankso@9694 18
pankso@341 19 # Rules to configure and make the package.
pankso@341 20 compile_rules()
pankso@341 21 {
al@14260 22 ./configure \
al@14260 23 --sysconfdir=/etc \
al@14260 24 --localstatedir=/var \
al@14260 25 --with-plugins=all \
al@14260 26 $CONFIGURE_ARGS &&
al@14260 27 make &&
al@14260 28 make install
pankso@341 29 }
pankso@341 30
pankso@341 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@341 32 genpkg_rules()
pankso@341 33 {
al@14260 34 mkdir -p \
al@14260 35 $fs/usr/lib \
al@14260 36 $fs/usr/share/lxpanel/images \
al@14260 37 $fs/etc/lxpanel \
al@14260 38 $fs/etc/xdg
pankso@12560 39
pankso@9694 40 cp -a $install/usr/bin $fs/usr
al@14260 41
al@14260 42 # Plugins (kbled -> lxpanel-extra)
pankso@9694 43 cp -a $install/usr/lib/lxpanel $fs/usr/lib
al@14260 44 find $fs -name kbled.so -delete
pankso@3808 45
al@14260 46 # Images
al@14260 47 imgs=usr/share/lxpanel/images
al@14260 48 for i in clock cpufreq-icon my-computer; do
al@14260 49 cp -a $install/$imgs/$i.png $fs/$imgs
pankso@3093 50 done
pankso@3808 51
pankso@3093 52 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config
al@14260 53 cp -a $install/usr/share/lxpanel/profile/* $fs/etc/lxpanel
slaxemulator@13159 54 ln -sf /etc/lxpanel $fs/usr/share/lxpanel/profile
slaxemulator@13159 55 mv -f $fs/etc/lxpanel/default $fs/etc/lxpanel/original
pankso@12307 56 cp -a $stuff/default $fs/etc/lxpanel
pankso@12307 57 rm -rf $fs/etc/lxpanel/two_panels
pankso@12560 58
pankso@12560 59 # XDG autostart desktop file (lxsession will use it automaticaly)
pankso@12560 60 cp -a $stuff/autostart $fs/etc/xdg
pankso@12560 61
al@14260 62 cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel
al@14260 63 cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel
pankso@610 64 }