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