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