wok annotate lxpanel/receipt @ rev 433
lxpanel: do not write into /usr (fixed)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 14 13:39:35 2008 +0000 (2008-03-14) |
parents | 1662eaca9d8f |
children | 622776c38c8f |
rev | line source |
---|---|
pankso@341 | 1 # SliTaz package receipt. |
pankso@341 | 2 |
pankso@341 | 3 PACKAGE="lxpanel" |
pankso@341 | 4 VERSION="0.2.6" |
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" |
pankso@341 | 9 BUILD_DEPENDS="gtk+-dev" |
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@350 | 18 patch -p0 < ../stuff/ptk-app-menu.u |
pankso@341 | 19 ./configure \ |
pankso@341 | 20 --prefix=/usr \ |
pankso@341 | 21 $CONFIGURE_ARGS |
pankso@341 | 22 make |
pankso@341 | 23 make DESTDIR=$PWD/_pkg install |
pankso@341 | 24 } |
pankso@341 | 25 |
pankso@341 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@341 | 27 genpkg_rules() |
pankso@341 | 28 { |
pankso@341 | 29 mkdir -p $fs/usr/share |
pankso@341 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@341 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@341 | 32 cp -a $_pkg/usr/share/lxpanel $fs/usr/share |
pankso@341 | 33 # Remove a few "heavy" an unseful images |
pankso@341 | 34 rm $fs/usr/share/lxpanel/images/*.svg |
pankso@341 | 35 # Default config |
pankso@341 | 36 mv $fs/usr/share/lxpanel/profile/default \ |
pankso@341 | 37 $fs/usr/share/lxpanel/profile/original |
pankso@341 | 38 cp -a stuff/default $fs/usr/share/lxpanel/profile/ |
pascal@432 | 39 # Move profile to /etc/lxpanel (/usr maybe read-only) |
pascal@433 | 40 mkdir $fs/etc |
pascal@432 | 41 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel |
pascal@432 | 42 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile |
pankso@341 | 43 } |
pankso@341 | 44 |