wok-current annotate xorg-xf86-input-evdev/receipt @ rev 11223
Add from wok-undigest: icinga ipcalc jnettop lxdm mana
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 23:48:05 2011 +0100 (2011-11-03) |
parents | 940b5937e496 |
children | af49128c1701 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-input-evdev" |
slaxemulator@8446 | 4 VERSION="2.6.0" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg input evdev driver." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@451 | 8 SOURCE="xf86-input-evdev" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 10 WEB_SITE="http://www.x.org/" |
pankso@451 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 12 |
pankso@10781 | 13 # We can use xorg-server-light with evdev and vesa driver. |
pankso@10781 | 14 #DEPENDS="xorg-server" |
pankso@10781 | 15 BUILD_DEPENDS="xorg-server-dev" |
pankso@10781 | 16 |
pankso@451 | 17 # Rules to configure and make the package. |
pankso@451 | 18 compile_rules() |
pankso@451 | 19 { |
pankso@10781 | 20 cd $src |
pankso@10781 | 21 ./configure \ |
pankso@10781 | 22 --prefix=/usr \ |
pankso@10781 | 23 --sysconfdir=/etc \ |
pankso@10781 | 24 --localstatedir=/var \ |
pankso@10781 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@10781 | 26 $CONFIGURE_ARGS && |
pankso@10781 | 27 make && make install |
pankso@451 | 28 } |
pankso@451 | 29 |
pankso@451 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 31 genpkg_rules() |
pankso@451 | 32 { |
pankso@451 | 33 mkdir -p $fs/usr/lib/X11/modules/input/ |
pankso@451 | 34 cp -a $_pkg/usr/lib/X11/modules/input/*.so \ |
pankso@451 | 35 $fs/usr/lib/X11/modules/input/ |
gokhlayeh@5767 | 36 mkdir -p $fs/etc/X11/xorg.conf.d |
pascal@8974 | 37 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 38 } |
pankso@451 | 39 |