wok-current view input-utils/receipt @ rev 25695

Up linux 5.10.214, Patch xorg-server (CVE-2024-31080, CVE-2024-31081, CVE-2024-31082, CVE-2024-31083)
author Stanislas Leduc <shann@slitaz.org>
date Thu Apr 04 08:53:51 2024 +0000 (7 months ago)
parents f94b55b6f9d0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="input-utils"
4 VERSION="1.3"
5 CATEGORY="system-tools"
6 TAGS="kernel input utilities"
7 SHORT_DESC="Small collection of linux input layer tools."
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kraxel.org/blog/linux/input/"
12 SOURCE="input"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.kraxel.org/releases/$SOURCE/$TARBALL"
16 DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://git.kraxel.org/cgit/input/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch --input $stuff/remove-target-lircd.conf.patch GNUmakefile
30 export prefix="/usr"
31 export CFLAGS="$CFLAGS -O3 -march=$ARCH"
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }