wok view xorg-xf86-input-evdev/receipt @ rev 23920
Up tazusb (207)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 19 17:19:00 2020 +0000 (2020-08-19) |
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 }