wok-6.x annotate xorg-xf86-input-evdev/receipt @ rev 23653
updated snapper and snapper-dev (0.8.6 -> 0.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 17:10:16 2020 +0100 (2020-04-20) |
parents | 814c58f64f83 |
children | 5d79829fa876 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-input-evdev" |
Hans-G?nter@22266 | 4 VERSION="2.10.6" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg input evdev driver." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22266 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22266 | 10 |
pankso@451 | 11 SOURCE="xf86-input-evdev" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 14 |
pankso@10781 | 15 # We can use xorg-server-light with evdev and vesa driver. |
pankso@10781 | 16 #DEPENDS="xorg-server" |
Hans-G?nter@22266 | 17 DEPENDS="libevdev mtdev" |
Hans-G?nter@22266 | 18 BUILD_DEPENDS="libevdev-dev mtdev-dev udev-dev xorg-server-dev" |
pankso@10781 | 19 |
pankso@12533 | 20 MODS='/usr/lib/X11/modules' |
pankso@12533 | 21 |
Hans-G?nter@22266 | 22 HOST_ARCH="i486 arm" |
Hans-G?nter@22266 | 23 |
pankso@16067 | 24 # ARM use build system xorg-server-dev or manually install it in sysroot |
pankso@16067 | 25 case "$ARCH" in |
pankso@16067 | 26 arm) BUILD_DEPENDS="udev-dev" ;; |
pankso@16067 | 27 esac |
pankso@16067 | 28 |
pankso@451 | 29 # Rules to configure and make the package. |
pankso@451 | 30 compile_rules() |
pankso@451 | 31 { |
Hans-G?nter@22266 | 32 ./configure \ |
Hans-G?nter@22266 | 33 --sysconfdir=/etc \ |
Hans-G?nter@22266 | 34 --localstatedir=/var \ |
Hans-G?nter@22266 | 35 --with-xorg-module-dir=$MODS \ |
pankso@10781 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22266 | 37 make && |
Hans-G?nter@22266 | 38 make install |
pankso@451 | 39 } |
pankso@451 | 40 |
pankso@451 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 42 genpkg_rules() |
pankso@451 | 43 { |
Hans-G?nter@22266 | 44 mkdir -p ${fs}${MODS}/input |
Hans-G?nter@22266 | 45 mkdir -p $fs/etc/X11/xorg.conf.d |
Hans-G?nter@22266 | 46 |
Hans-G?nter@22266 | 47 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input |
Hans-G?nter@22266 | 48 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 49 } |