wok-stable view xorg-xf86-input-microtouch/receipt @ rev 6826

Add mlt: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:09:51 2010 -0400 (2010-10-19)
parents d7c87b8a2a34
children 07ae722ec64e
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.gz"
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 }