wok-6.x view lxsession-edit/receipt @ rev 25128

updated cgdb (0.7.1 -> 0.8.0)
author Hans-G?nter Theisgen
date Tue Jun 28 17:15:25 2022 +0100 (2022-06-28)
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 }