wok-4.x annotate xorg-xf86-input-void/receipt @ rev 8207

imported patch toolchain/patch.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents d7c87b8a2a34
children
rev   line source
pascal@4870 1 # SliTaz package receipt.
pascal@4870 2
pascal@4870 3 PACKAGE="xorg-xf86-input-void"
pascal@4870 4 VERSION="1.3.0"
pascal@4870 5 CATEGORY="x-window"
pascal@4870 6 SHORT_DESC="Xorg server protocol."
pascal@4870 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@8029 8 DEPENDS="xorg-server"
slaxemulator@8029 9 BUILD_DEPENDS="xorg-server-dev"
pascal@4870 10 SOURCE="xf86-input-void"
pascal@4870 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@4870 12 WEB_SITE="http://www.x.org/"
pascal@4870 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pascal@4870 14
pascal@4870 15 # Rules to configure and make the package.
pascal@4870 16 compile_rules()
pascal@4870 17 {
pascal@4870 18 cd $src
pascal@4870 19 ./configure \
pascal@4870 20 --prefix=/usr \
pascal@4870 21 --sysconfdir=/etc \
pascal@4870 22 --mandir=/usr/share/man \
pascal@4870 23 --localstatedir=/var \
pascal@4870 24 --with-xorg-module-dir=/usr/lib/X11/modules \
pascal@4870 25 --enable-evcalibrate \
pascal@4870 26 $CONFIGURE_ARGS &&
pascal@4870 27 make &&
pascal@4870 28 make DESTDIR=$PWD/_pkg install
pascal@4870 29 }
pascal@4870 30
pascal@4870 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4870 32 genpkg_rules()
pascal@4870 33 {
pascal@4870 34 mkdir -p $fs/usr/lib/X11/modules/input/
pascal@4870 35 cp -a $_pkg/usr/lib/X11/modules/input/*.so \
pascal@4870 36 $fs/usr/lib/X11/modules/input/
pascal@4870 37 }
pascal@4870 38