wok-next rev 12533

Up: xorg-xf86-input-evdev (it provide mouse and keyboard support so xorg-xf86-input-[mouse|keyboard] can be removed)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 01:50:03 2012 +0200 (2012-04-26)
parents cf2a0f07befd
children ad2b1674f4f5
files xorg-xf86-input-evdev/receipt
line diff
     1.1 --- a/xorg-xf86-input-evdev/receipt	Wed Apr 25 11:39:21 2012 +0200
     1.2 +++ b/xorg-xf86-input-evdev/receipt	Thu Apr 26 01:50:03 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xf86-input-evdev"
     1.7 -VERSION="2.6.0"
     1.8 +VERSION="2.7.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg input evdev driver."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -14,15 +14,16 @@
    1.13  #DEPENDS="xorg-server"
    1.14  BUILD_DEPENDS="xorg-server-dev"
    1.15  
    1.16 +MODS='/usr/lib/X11/modules'
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	./configure \
    1.23 -		--prefix=/usr \
    1.24  		--sysconfdir=/etc \
    1.25  		--localstatedir=/var \
    1.26 -		--with-xorg-module-dir=/usr/lib/X11/modules \
    1.27 +		--with-xorg-module-dir=$MODS \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make && make install
    1.30  }
    1.31 @@ -30,10 +31,8 @@
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr/lib/X11/modules/input/
    1.36 -    cp -a $_pkg/usr/lib/X11/modules/input/*.so \
    1.37 -    	$fs/usr/lib/X11/modules/input/
    1.38 -	mkdir -p $fs/etc/X11/xorg.conf.d
    1.39 +	mkdir -p ${fs}${MODS}/input $fs/etc/X11/xorg.conf.d
    1.40 +    cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input
    1.41  	cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d
    1.42  }
    1.43