wok-6.x annotate lxsession/receipt @ rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | 6aedcb2651c7 |
children | 523db8f94fcb |
rev | line source |
---|---|
pankso@12415 | 1 # SliTaz package receipt. |
pankso@12415 | 2 |
pankso@12415 | 3 PACKAGE="lxsession" |
pankso@12415 | 4 VERSION="0.4.6.1" |
pankso@12415 | 5 CATEGORY="x-window" |
pankso@12415 | 6 SHORT_DESC="LXDE X session manager." |
pankso@12415 | 7 MAINTAINER="pankso@slitaz.org" |
al@14907 | 8 LICENSE="GPL2" |
al@14907 | 9 WEB_SITE="http://wiki.lxde.org/en/LXSession" |
pankso@12415 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12415 | 11 WGET_URL="$SF_MIRROR/lxde/LXSession%20%28session%20manager%29/LXSession%200.4.6.1/$TARBALL" |
pankso@12415 | 12 |
pankso@12415 | 13 DEPENDS="gtk+ dbus" |
pankso@12415 | 14 BUILD_DEPENDS="gtk+-dev dbus-dev" |
pankso@12415 | 15 |
al@14907 | 16 # next lxsession-0.4.9.2 require gee-1.0 |
al@14907 | 17 |
pankso@12415 | 18 # Rules to configure and make the package. |
pankso@12415 | 19 compile_rules() |
pankso@12415 | 20 { |
pankso@12415 | 21 cd $src |
pankso@12415 | 22 ./configure \ |
pankso@12415 | 23 --sysconfdir=/etc \ |
pankso@12415 | 24 $CONFIGURE_ARGS && |
pankso@12415 | 25 make && make install |
pankso@12415 | 26 } |
pankso@12415 | 27 |
pankso@12415 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12415 | 29 genpkg_rules() |
pankso@12415 | 30 { |
pankso@12415 | 31 mkdir -p $fs/usr \ |
pankso@12415 | 32 $fs/etc/xdg/lxsession/LXDE |
pankso@12415 | 33 cp -a $install/usr/bin $fs/usr |
pankso@12415 | 34 # Use SliTaz Icon them for lxsession-logout |
pankso@12415 | 35 #cp -a $install/usr/share/lxsession $fs/usr/share |
pankso@12415 | 36 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE |
pankso@12415 | 37 chown -R 0.0 $fs |
pankso@12415 | 38 } |