wok annotate lxsession/receipt @ rev 20566
tcc: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 23:37:24 2018 +0100 (2018-12-12) |
parents | 8a7737341ffa |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
pankso@12415 | 1 # SliTaz package receipt. |
pankso@12415 | 2 |
pankso@12415 | 3 PACKAGE="lxsession" |
al@17999 | 4 VERSION="0.4.6.1" |
pankso@12415 | 5 CATEGORY="x-window" |
al@17999 | 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" |
al@17999 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16261 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@16261 | 12 HOST_ARCH="i486 arm" |
pankso@12415 | 13 |
pankso@12415 | 14 DEPENDS="gtk+ dbus" |
al@17999 | 15 BUILD_DEPENDS="gtk+-dev dbus-dev" |
al@14907 | 16 |
pankso@12415 | 17 # Rules to configure and make the package. |
pankso@12415 | 18 compile_rules() |
pankso@12415 | 19 { |
pankso@12415 | 20 ./configure \ |
pankso@12415 | 21 --sysconfdir=/etc \ |
pankso@12415 | 22 $CONFIGURE_ARGS && |
pankso@12415 | 23 make && make install |
pankso@12415 | 24 } |
pankso@12415 | 25 |
pankso@12415 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12415 | 27 genpkg_rules() |
pankso@12415 | 28 { |
al@18546 | 29 mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE |
pankso@12415 | 30 cp -a $install/usr/bin $fs/usr |
pankso@12415 | 31 # Use SliTaz Icon them for lxsession-logout |
al@17999 | 32 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE |
pankso@12415 | 33 chown -R 0.0 $fs |
pankso@12415 | 34 } |