wok-4.x view lxpanel/receipt @ rev 464

Up: lxpanel (0.2.8) and adjust openbox config
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 14:33:19 2008 +0100 (2008-03-20)
parents 622776c38c8f
children ce6a7900a0ab
line source
1 # SliTaz package receipt.
3 PACKAGE="lxpanel"
4 VERSION="0.2.8"
5 CATEGORY="x-window"
6 SHORT_DESC="Standard compliant desktop panel."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ slitaz-menus"
9 BUILD_DEPENDS="gtk+-dev gettext"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://lxde.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Patch the menu
19 patch -p0 < ../stuff/ptk-app-menu.u
20 patch -p0 < ../stuff/fr.u
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 # Avoid insatll error (want docbook for man)
27 echo "Please continue..."
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share/lxpanel $fs/usr/share
37 # Remove a few "heavy" an unseful images
38 rm $fs/usr/share/lxpanel/images/*.svg
39 # Default config
40 mv $fs/usr/share/lxpanel/profile/default \
41 $fs/usr/share/lxpanel/profile/original
42 cp -a stuff/default $fs/usr/share/lxpanel/profile/
43 # Move profile to /etc/lxpanel (/usr maybe read-only)
44 mkdir $fs/etc
45 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
46 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
47 }
49 # Remove old config if upgrade.
50 pre_install()
51 {
52 rm -rf /usr/share/lxpanel/profile
53 }