wok annotate lxsession046/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | ea7c7014b421 |
children |
rev | line source |
---|---|
al@21549 | 1 # SliTaz package receipt. |
al@21549 | 2 |
al@21549 | 3 ORIGIN="lxsession" |
al@21549 | 4 PACKAGE="lxsession046" |
al@21549 | 5 VERSION="0.4.6.1" |
al@21549 | 6 CATEGORY="x-window" |
al@21549 | 7 SHORT_DESC="LXDE X session manager." |
al@21549 | 8 MAINTAINER="devel@slitaz.org" |
al@21549 | 9 LICENSE="GPL2" |
pascal@25060 | 10 WEB_SITE="https://www.lxde.org/" |
al@21549 | 11 TARBALL="$ORIGIN-$VERSION.tar.gz" |
al@21549 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@21549 | 13 HOST_ARCH="i486 arm" |
pascal@21551 | 14 PROVIDE="lxsession" |
al@21549 | 15 |
al@21549 | 16 DEPENDS="gtk+ dbus" |
al@21549 | 17 BUILD_DEPENDS="gtk+-dev dbus-dev intltool" |
al@21549 | 18 |
pascal@25606 | 19 # What is the latest version available today? |
pascal@24074 | 20 current_version() |
pascal@24074 | 21 { |
pascal@24074 | 22 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \ |
pascal@25606 | 23 sed '/scope="row/!d;/0.4.6/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24075 | 24 sed "/$ORIGIN-/!d;s|.*$ORIGIN-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24074 | 25 } |
pascal@24074 | 26 |
al@21549 | 27 # Rules to configure and make the package. |
al@21549 | 28 compile_rules() |
al@21549 | 29 { |
al@21549 | 30 ./configure \ |
al@21549 | 31 --sysconfdir=/etc \ |
al@21549 | 32 $CONFIGURE_ARGS && |
al@21549 | 33 make && make install |
al@21549 | 34 } |
al@21549 | 35 |
al@21549 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@21549 | 37 genpkg_rules() |
al@21549 | 38 { |
al@21549 | 39 mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE |
al@21549 | 40 cp -a $install/usr/bin $fs/usr |
al@21549 | 41 cp -a $install/usr/share/lxsession $fs/usr/share |
al@21549 | 42 # Use SliTaz Icon them for lxsession-logout |
al@21549 | 43 cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE |
al@21549 | 44 chown -R 0.0 $fs |
al@21549 | 45 } |