wok-current view xorg-xf86-input-evdev/receipt @ rev 25351
updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 13:57:27 2022 +0100 (2022-07-26) |
parents | a3b8826757f5 |
children | 5926178cd6fa |
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 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # ARM use build system xorg-server-dev or manually install it in sysroot
31 case "$ARCH" in
32 arm) BUILD_DEPENDS="udev-dev" ;;
33 esac
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 ./configure \
39 --sysconfdir=/etc \
40 --localstatedir=/var \
41 --with-xorg-module-dir=$MODS \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p ${fs}${MODS}/input
51 mkdir -p $fs/etc/X11/xorg.conf.d
53 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input
54 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d
55 }