wok-current view lxpanel/receipt @ rev 14431

wxWidgets: fix compiles-rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 16:10:28 2013 +0200 (2013-04-24)
parents bf872cb6f5c1
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="lxpanel"
4 VERSION="0.5.12"
5 CATEGORY="x-window"
6 SHORT_DESC="Lightweight X11 desktop panel"
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.lxde.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL"
11 CONFIG_FILES="/etc/lxpanel/default"
13 DEPENDS="alsa-lib gtk+ libwnck menu-cache wireless_tools"
14 SUGGESTED="lxsession slitaz-icon"
15 BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \
16 wireless_tools-dev libxml2-dev lxmenu-data"
17 TAGS="gtk2 panel"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-plugins=all \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p \
35 $fs/usr/lib \
36 $fs/usr/share/lxpanel/images \
37 $fs/etc/lxpanel \
38 $fs/etc/xdg
40 cp -a $install/usr/bin $fs/usr
42 # Plugins (kbled -> lxpanel-extra)
43 cp -a $install/usr/lib/lxpanel $fs/usr/lib
44 find $fs -name kbled.so -delete
46 # Images
47 imgs=usr/share/lxpanel/images
48 for i in clock cpufreq-icon my-computer; do
49 cp -a $install/$imgs/$i.png $fs/$imgs
50 done
52 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config
53 cp -a $install/usr/share/lxpanel/profile/* $fs/etc/lxpanel
54 ln -sf /etc/lxpanel $fs/usr/share/lxpanel/profile
55 mv -f $fs/etc/lxpanel/default $fs/etc/lxpanel/original
56 cp -a $stuff/default $fs/etc/lxpanel
57 rm -rf $fs/etc/lxpanel/two_panels
59 # XDG autostart desktop file (lxsession will use it automaticaly)
60 cp -a $stuff/autostart $fs/etc/xdg
62 cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel
63 cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel
64 }