wok-current view xorg-xf86-input-microtouch/receipt @ rev 7270

Up: aaphoto to 0.39.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 23:09:21 2010 +0000 (2010-11-14)
parents abe49bb6afff
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-input-microtouch"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server protocol."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 BUILD_DEPENDS="xorg-server xorg-xproto pkg-config xorg-server-dev \
10 xorg-inputproto xorg-randrproto"
11 SOURCE="xf86-input-microtouch"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.x.org/"
14 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 grep -qs axis_labels src/microtouch.c || patch -p0 < ../stuff/microtouch.u
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 --with-xorg-module-dir=/usr/lib/X11/modules \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/X11/modules/input/
36 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
37 $fs/usr/lib/X11/modules/input/
38 }