wok annotate lxsession-edit/receipt @ rev 25164

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