wok-6.x annotate xorg-xf86-input-evdev/receipt @ rev 24977
created recipe for fslint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 06 16:54:42 2022 +0100 (2022-05-06) |
parents | a3b8826757f5 |
children |
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 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 28 } |
pascal@24072 | 29 |
pankso@16067 | 30 # ARM use build system xorg-server-dev or manually install it in sysroot |
pankso@16067 | 31 case "$ARCH" in |
pankso@16067 | 32 arm) BUILD_DEPENDS="udev-dev" ;; |
pankso@16067 | 33 esac |
pankso@16067 | 34 |
pankso@451 | 35 # Rules to configure and make the package. |
pankso@451 | 36 compile_rules() |
pankso@451 | 37 { |
Hans-G?nter@22266 | 38 ./configure \ |
Hans-G?nter@22266 | 39 --sysconfdir=/etc \ |
Hans-G?nter@22266 | 40 --localstatedir=/var \ |
Hans-G?nter@22266 | 41 --with-xorg-module-dir=$MODS \ |
pankso@10781 | 42 $CONFIGURE_ARGS && |
Hans-G?nter@22266 | 43 make && |
Hans-G?nter@22266 | 44 make install |
pankso@451 | 45 } |
pankso@451 | 46 |
pankso@451 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 48 genpkg_rules() |
pankso@451 | 49 { |
Hans-G?nter@22266 | 50 mkdir -p ${fs}${MODS}/input |
Hans-G?nter@22266 | 51 mkdir -p $fs/etc/X11/xorg.conf.d |
Hans-G?nter@22266 | 52 |
Hans-G?nter@22266 | 53 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input |
Hans-G?nter@22266 | 54 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 55 } |