wok-next view lxpanel/receipt @ rev 498

Busybox: add patch -R
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 24 15:49:00 2008 +0000 (2008-03-24)
parents 91f7f2145552
children 4b565515822c
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
38 # Remove a few "heavy" an unseful images
39 rm $fs/usr/share/lxpanel/images/*.svg
41 # Move profile to /etc/lxpanel (/usr maybe read-only)
42 mkdir $fs/etc
43 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
44 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
46 # Default config
47 mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
48 cp -a stuff/default $fs/etc/lxpanel
49 }