wok view xorg-xf86-input-evdev/receipt @ rev 12040

postfix: Improve receipt + fix addgroup command
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 07 16:30:58 2012 +0100 (2012-03-07)
parents 940b5937e496
children af49128c1701
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-evdev"
4 VERSION="2.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg input evdev driver."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="xf86-input-evdev"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 # We can use xorg-server-light with evdev and vesa driver.
14 #DEPENDS="xorg-server"
15 BUILD_DEPENDS="xorg-server-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-xorg-module-dir=/usr/lib/X11/modules \
26 $CONFIGURE_ARGS &&
27 make && make 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 }