wok view lxpanel/receipt @ rev 350

Patch lxpanel menu to match SliTaz cats/menus
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 21:12:32 2008 +0100 (2008-03-06)
parents 6fc19a84b074
children 1662eaca9d8f
line source
1 # SliTaz package receipt.
3 PACKAGE="lxpanel"
4 VERSION="0.2.6"
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"
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 -p0 < ../stuff/ptk-app-menu.u
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share/lxpanel $fs/usr/share
33 # Remove a few "heavy" an unseful images
34 rm $fs/usr/share/lxpanel/images/*.svg
35 # Default config
36 mv $fs/usr/share/lxpanel/profile/default \
37 $fs/usr/share/lxpanel/profile/original
38 cp -a stuff/default $fs/usr/share/lxpanel/profile/
39 }