wok view xorg-xf86-input-evdev/receipt @ rev 19210

Add crunch & airgeddon
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 09:11:06 2016 +0200 (2016-06-14)
parents eb8067417980
children 814c58f64f83
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-evdev"
4 VERSION="2.7.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg input evdev driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-input-evdev"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 HOST_ARCH="i486 arm"
15 # We can use xorg-server-light with evdev and vesa driver.
16 #DEPENDS="xorg-server"
17 BUILD_DEPENDS="xorg-server-dev udev-dev"
19 MODS='/usr/lib/X11/modules'
21 # ARM use build system xorg-server-dev or manually install it in sysroot
22 case "$ARCH" in
23 arm) BUILD_DEPENDS="udev-dev" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --with-xorg-module-dir=$MODS \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p ${fs}${MODS}/input $fs/etc/X11/xorg.conf.d
41 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input
42 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d
43 }