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