wok-next view xorg-xf86-input-evdev/receipt @ rev 5767
evdev: Add configuration file
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Mon Jul 05 19:16:56 2010 +0200 (2010-07-05) |
parents | 5b6b81ccd958 |
children | 249eb360cbe5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-evdev"
4 VERSION="2.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg input evdev driver."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server"
9 BUILD_DEPENDS="xorg-server xorg-xproto"
10 SOURCE="xf86-input-evdev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --with-xorg-module-dir=/usr/lib/X11/modules \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/X11/modules/input/
34 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
35 $fs/usr/lib/X11/modules/input/
36 mkdir -p $fs/etc/X11/xorg.conf.d
37 cp -a stuff/*evdev.conf $fs/etc/X11/xorg.conf.d
38 }