wok-6.x view xorg-xf86-input-evdev/receipt @ rev 24057

Up intel-microcode (20210216), lzsa (1.3.7), xrdp (0.9.16), xorgxrdp (0.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 14:31:15 2021 +0000 (2021-06-08)
parents 814c58f64f83
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-evdev"
4 VERSION="2.10.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg input evdev driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xf86-input-evdev"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 # We can use xorg-server-light with evdev and vesa driver.
16 #DEPENDS="xorg-server"
17 DEPENDS="libevdev mtdev"
18 BUILD_DEPENDS="libevdev-dev mtdev-dev udev-dev xorg-server-dev"
20 MODS='/usr/lib/X11/modules'
22 HOST_ARCH="i486 arm"
24 # ARM use build system xorg-server-dev or manually install it in sysroot
25 case "$ARCH" in
26 arm) BUILD_DEPENDS="udev-dev" ;;
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --with-xorg-module-dir=$MODS \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p ${fs}${MODS}/input
45 mkdir -p $fs/etc/X11/xorg.conf.d
47 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input
48 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d
49 }