wok view lxpanel/receipt @ rev 490

Up: slitaz-base-files (1.4) + slitaz-doc (1.2) to change slitaz release string
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 22 16:58:02 2008 +0100 (2008-03-22)
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 }