wok-current annotate lxsession-edit/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 6e8b1bcb30e2 |
children | ea7c7014b421 |
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@20671 | 9 WEB_SITE="https://wiki.lxde.org/en/LXSession_Edit" |
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 } |