wok-current view xorg-xf86-input-synaptics/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 (2 months ago)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-synaptics"
4 VERSION="1.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg synaptics driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-input-synaptics"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 DEPENDS="xorg-server xorg-libXtst mtdev"
15 BUILD_DEPENDS="xorg-server-dev \
16 xorg-libXtst-dev mtdev-dev libevdev-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-xorg-module-dir=/usr/lib/X11/modules \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/X11/modules/input/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/X11/modules/input/*.so \
45 $fs/usr/lib/X11/modules/input/
46 mkdir -p $fs/etc/X11/xorg.conf.d
47 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
48 }