wok-current diff xorg-xf86-input-evdev/receipt @ rev 15158

gmerlin: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 17:45:49 2013 +0000 (2013-08-15)
parents 68b1394d9366
children eb8067417980
line diff
     1.1 --- a/xorg-xf86-input-evdev/receipt	Wed Jun 01 02:32:55 2011 +0200
     1.2 +++ b/xorg-xf86-input-evdev/receipt	Thu Aug 15 17:45:49 2013 +0000
     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