wok view lxpanel/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 68d68791ced5
children f0abef5a98b3
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 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"
14 DEPENDS="alsa-lib gtk+ libwnck menu-cache wireless_tools"
15 SUGGESTED="lxsession slitaz-icon"
16 BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \
17 wireless_tools-dev libxml2-dev lxmenu-data"
18 TAGS="gtk2 panel"
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
47 # Images
48 imgs=usr/share/lxpanel/images
49 for i in clock cpufreq-icon my-computer; do
50 cp -a $install/$imgs/$i.png $fs/$imgs
51 done
53 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config
54 cp -a $install/usr/share/lxpanel/profile/* $fs/etc/lxpanel
55 ln -sf /etc/lxpanel $fs/usr/share/lxpanel/profile
56 mv -f $fs/etc/lxpanel/default $fs/etc/lxpanel/original
57 cp -a $stuff/default $fs/etc/lxpanel
58 rm -rf $fs/etc/lxpanel/two_panels
60 # XDG autostart desktop file (lxsession will use it automaticaly)
61 cp -a $stuff/autostart $fs/etc/xdg
63 cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel
64 cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel
65 }