wok-6.x annotate lxinput/receipt @ rev 25071
waterline-plugin-multiload: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 11 09:07:17 2022 +0100 (2022-06-11) |
parents | 56253db1eb5e |
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@24071 | 21 current_version() |
pascal@24071 | 22 { |
pascal@24071 | 23 wget -O - https://sourceforge.net/projects/lxde/files/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/ 2>/dev/null | \ |
pascal@24071 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 26 } |
pascal@24071 | 27 |
pankso@12461 | 28 # Rules to configure and make the package. |
pankso@12461 | 29 compile_rules() |
pankso@12461 | 30 { |
pankso@12461 | 31 ./configure \ |
pankso@12461 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@21392 | 33 make -j 1 && |
Hans-G?nter@21392 | 34 make install |
pankso@12461 | 35 } |
pankso@12461 | 36 |
pankso@12461 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12461 | 38 genpkg_rules() |
pankso@12461 | 39 { |
al@18546 | 40 cp -a $install/* $fs |
Hans-G?nter@21392 | 41 |
Hans-G?nter@21392 | 42 rm -r $fs/usr/share/locale |
Hans-G?nter@21392 | 43 rm -r $fs/usr/share/man |
al@18546 | 44 rm -r $fs/usr/share/lxinput/*.png |
Hans-G?nter@21392 | 45 |
al@18545 | 46 sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \ |
al@18545 | 47 $fs/usr/share/applications/lxinput.desktop |
pankso@12461 | 48 } |