wok-next annotate xorg-xf86-input-microtouch/receipt @ rev 10861

Up: cookutils (1.4) - Bunch of fixes and small improvments - ready for RC
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 18 22:45:15 2011 +0200 (2011-06-18)
parents c514cc4854d8
children eb8067417980
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"
slaxemulator@8029 8 DEPENDS="xorg-server"
slaxemulator@8029 9 BUILD_DEPENDS="xorg-server-dev"
pascal@4847 10 SOURCE="xf86-input-microtouch"
gokhlayeh@6993 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@4847 12 WEB_SITE="http://www.x.org/"
pascal@4847 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4847 14
pascal@4847 15 # Rules to configure and make the package.
pascal@4847 16 compile_rules()
pascal@4847 17 {
pascal@4847 18 cd $src
pascal@8974 19 grep -qs axis_labels src/microtouch.c || patch -p0 < $stuff/microtouch.u
pascal@4847 20 ./configure \
pascal@4847 21 --prefix=/usr \
pascal@4847 22 --sysconfdir=/etc \
pascal@4847 23 --mandir=/usr/share/man \
pascal@4847 24 --localstatedir=/var \
pascal@4847 25 --with-xorg-module-dir=/usr/lib/X11/modules \
pascal@4847 26 $CONFIGURE_ARGS &&
pascal@4847 27 make &&
pascal@4847 28 make DESTDIR=$PWD/_pkg install
pascal@4847 29 }
pascal@4847 30
pascal@4847 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4847 32 genpkg_rules()
pascal@4847 33 {
pascal@4847 34 mkdir -p $fs/usr/lib/X11/modules/input/
pascal@4847 35 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
pascal@4847 36 $fs/usr/lib/X11/modules/input/
pascal@4847 37 }
pascal@4847 38