wok-current view lxsession-edit/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | ee53899c6189 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxsession-edit"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Configure what application start up automatically in LXDE"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.lxde.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
13 HOST_ARCH="i486 arm"
14 GENERIC_MENUS="no"
16 DEPENDS="gtk+ lxsession"
17 BUILD_DEPENDS="gtk+-dev"
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20Edit/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 rm -r $fs/usr/share/locale
41 sed -i 's|^Icon=.*$|Icon=session-properties|' \
42 $fs/usr/share/applications/lxsession-edit.desktop
43 }