wok view xorg-xf86-input-synaptics/receipt @ rev 25231

updated python-pytz (2019.3 -> 2021.3)
author Hans-G?nter Theisgen
date Wed Jul 13 17:07:13 2022 +0100 (2022-07-13)
parents 814c58f64f83
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-synaptics"
4 VERSION="1.6.2"
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 xorg-libXtst-dev mtdev-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 --with-xorg-module-dir=/usr/lib/X11/modules \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/X11/modules/input/
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/X11/modules/input/*.so \
44 $fs/usr/lib/X11/modules/input/
45 mkdir -p $fs/etc/X11/xorg.conf.d
46 cp -a $stuff/*.conf $fs/etc/X11/xorg.conf.d
47 }