wok-6.x annotate xorg-xf86-input-evdev/receipt @ rev 19073
Fix: (Picozu the HTML5 online image editor.)
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Sat Apr 23 01:13:53 2016 -0300 (2016-04-23) |
parents | eb8067417980 |
children | 814c58f64f83 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-input-evdev" |
pankso@12533 | 4 VERSION="2.7.0" |
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" |
pankso@451 | 9 SOURCE="xf86-input-evdev" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 11 WEB_SITE="http://www.x.org/" |
pankso@451 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@16067 | 13 HOST_ARCH="i486 arm" |
pankso@451 | 14 |
pankso@10781 | 15 # We can use xorg-server-light with evdev and vesa driver. |
pankso@10781 | 16 #DEPENDS="xorg-server" |
pankso@16067 | 17 BUILD_DEPENDS="xorg-server-dev udev-dev" |
pankso@10781 | 18 |
pankso@12533 | 19 MODS='/usr/lib/X11/modules' |
pankso@12533 | 20 |
pankso@16067 | 21 # ARM use build system xorg-server-dev or manually install it in sysroot |
pankso@16067 | 22 case "$ARCH" in |
pankso@16067 | 23 arm) BUILD_DEPENDS="udev-dev" ;; |
pankso@16067 | 24 esac |
pankso@16067 | 25 |
pankso@451 | 26 # Rules to configure and make the package. |
pankso@451 | 27 compile_rules() |
pankso@451 | 28 { |
pankso@10781 | 29 ./configure \ |
pankso@10781 | 30 --sysconfdir=/etc \ |
pankso@10781 | 31 --localstatedir=/var \ |
pankso@12533 | 32 --with-xorg-module-dir=$MODS \ |
pankso@10781 | 33 $CONFIGURE_ARGS && |
pankso@10781 | 34 make && make install |
pankso@451 | 35 } |
pankso@451 | 36 |
pankso@451 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 38 genpkg_rules() |
pankso@451 | 39 { |
pankso@12533 | 40 mkdir -p ${fs}${MODS}/input $fs/etc/X11/xorg.conf.d |
pankso@12533 | 41 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input |
pascal@8974 | 42 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 43 } |
pankso@451 | 44 |