wok view lxpanel/receipt @ rev 15995

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