wok annotate lxinput/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (4 weeks ago)
parents ee53899c6189
children
rev   line source
pankso@12461 1 # SliTaz package receipt.
pankso@12461 2
pankso@12461 3 PACKAGE="lxinput"
Hans-G?nter@21392 4 VERSION="0.3.5"
pankso@12461 5 CATEGORY="x-window"
Hans-G?nter@21392 6 TAGS="LXDE keyboard mouse"
Hans-G?nter@21392 7 SHORT_DESC="LXDE keyboard and mouse configuration."
pankso@12461 8 MAINTAINER="pankso@slitaz.org"
al@14907 9 LICENSE="GPL3"
pascal@20671 10 WEB_SITE="https://lxde.org"
Hans-G?nter@21392 11
al@17988 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@17988 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
pankso@12461 14
psychomaniak@18004 15 DEPENDS="gtk+ xorg-xset"
pankso@12461 16 BUILD_DEPENDS="gtk+-dev"
Hans-G?nter@21392 17 GENERIC_MENUS="no"
Hans-G?nter@21392 18
Hans-G?nter@21392 19 HOST_ARCH="i486 arm"
pankso@12461 20
pascal@25606 21 # What is the latest version available today?
pascal@24071 22 current_version()
pascal@24071 23 {
pascal@24071 24 wget -O - https://sourceforge.net/projects/lxde/files/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/ 2>/dev/null | \
pascal@25606 25 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 26 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 27 }
pascal@24071 28
pankso@12461 29 # Rules to configure and make the package.
pankso@12461 30 compile_rules()
pankso@12461 31 {
pankso@12461 32 ./configure \
pankso@12461 33 $CONFIGURE_ARGS &&
Hans-G?nter@21392 34 make -j 1 &&
Hans-G?nter@21392 35 make install
pankso@12461 36 }
pankso@12461 37
pankso@12461 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12461 39 genpkg_rules()
pankso@12461 40 {
al@18546 41 cp -a $install/* $fs
Hans-G?nter@21392 42
Hans-G?nter@21392 43 rm -r $fs/usr/share/locale
Hans-G?nter@21392 44 rm -r $fs/usr/share/man
al@18546 45 rm -r $fs/usr/share/lxinput/*.png
Hans-G?nter@21392 46
al@18545 47 sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \
al@18545 48 $fs/usr/share/applications/lxinput.desktop
pankso@12461 49 }