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

slitaz-base-files: up 5.4.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 24 15:12:52 2013 +0300 (2013-08-24)
parents c514cc4854d8
children eb8067417980
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-server"
9 BUILD_DEPENDS="xorg-server-dev"
10 SOURCE="xf86-input-microtouch"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
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 grep -qs axis_labels src/microtouch.c || patch -p0 < $stuff/microtouch.u
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --with-xorg-module-dir=/usr/lib/X11/modules \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/X11/modules/input/
35 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
36 $fs/usr/lib/X11/modules/input/
37 }