wok-next annotate lxpanel/receipt @ rev 568
busybox/cpio: avoid newer or same age file exists for directory
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 13 11:53:53 2008 +0000 (2008-04-13) |
parents | 91f7f2145552 |
children | 4b565515822c |
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@468 | 37 |
pankso@341 | 38 # Remove a few "heavy" an unseful images |
pankso@341 | 39 rm $fs/usr/share/lxpanel/images/*.svg |
pankso@468 | 40 |
pascal@432 | 41 # Move profile to /etc/lxpanel (/usr maybe read-only) |
pascal@433 | 42 mkdir $fs/etc |
pascal@432 | 43 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel |
pascal@432 | 44 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile |
pankso@468 | 45 |
pankso@468 | 46 # Default config |
pankso@468 | 47 mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original |
pankso@468 | 48 cp -a stuff/default $fs/etc/lxpanel |
pankso@341 | 49 } |
pankso@341 | 50 |