wok annotate xorg-xf86-input-evdev/receipt @ rev 15610
linux64*: fix install/_pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 07 06:59:03 2013 +0000 (2013-12-07) |
parents | af49128c1701 |
children | 9be2dfe2fe72 |
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@451 | 13 |
pankso@10781 | 14 # We can use xorg-server-light with evdev and vesa driver. |
pankso@10781 | 15 #DEPENDS="xorg-server" |
pankso@10781 | 16 BUILD_DEPENDS="xorg-server-dev" |
pankso@10781 | 17 |
pankso@12533 | 18 MODS='/usr/lib/X11/modules' |
pankso@12533 | 19 |
pankso@451 | 20 # Rules to configure and make the package. |
pankso@451 | 21 compile_rules() |
pankso@451 | 22 { |
pankso@10781 | 23 cd $src |
pankso@10781 | 24 ./configure \ |
pankso@10781 | 25 --sysconfdir=/etc \ |
pankso@10781 | 26 --localstatedir=/var \ |
pankso@12533 | 27 --with-xorg-module-dir=$MODS \ |
pankso@10781 | 28 $CONFIGURE_ARGS && |
pankso@10781 | 29 make && make install |
pankso@451 | 30 } |
pankso@451 | 31 |
pankso@451 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 33 genpkg_rules() |
pankso@451 | 34 { |
pankso@12533 | 35 mkdir -p ${fs}${MODS}/input $fs/etc/X11/xorg.conf.d |
pankso@12533 | 36 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input |
pascal@8974 | 37 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 38 } |
pankso@451 | 39 |