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