wok annotate xorg-xf86-input-synaptics/receipt @ rev 3045
Add xorg-xf86-input-synaptics (driver and utility)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 12 23:39:56 2009 +0200 (2009-05-12) |
parents | |
children | 2e8e275dfc90 |
rev | line source |
---|---|
pankso@3045 | 1 # SliTaz package receipt. |
pankso@3045 | 2 |
pankso@3045 | 3 PACKAGE="xorg-xf86-input-synaptics" |
pankso@3045 | 4 VERSION="0.15.0" |
pankso@3045 | 5 CATEGORY="x-window" |
pankso@3045 | 6 SHORT_DESC="Xorg synaptics driver." |
pankso@3045 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3045 | 8 DEPENDS="xorg" |
pankso@3045 | 9 BUILD_DEPENDS="xorg-server-dev xorg-xproto" |
pankso@3045 | 10 SOURCE="xf86-input-synaptics" |
pankso@3045 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3045 | 12 WEB_SITE="http://www.x.org/" |
pankso@3045 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@3045 | 14 |
pankso@3045 | 15 # Rules to configure and make the package. |
pankso@3045 | 16 compile_rules() |
pankso@3045 | 17 { |
pankso@3045 | 18 cd $src |
pankso@3045 | 19 ./configure \ |
pankso@3045 | 20 --prefix=/usr \ |
pankso@3045 | 21 --sysconfdir=/etc \ |
pankso@3045 | 22 --mandir=/usr/share/man \ |
pankso@3045 | 23 --localstatedir=/var \ |
pankso@3045 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@3045 | 25 $CONFIGURE_ARGS && |
pankso@3045 | 26 make && |
pankso@3045 | 27 make DESTDIR=$PWD/_pkg install |
pankso@3045 | 28 } |
pankso@3045 | 29 |
pankso@3045 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3045 | 31 genpkg_rules() |
pankso@3045 | 32 { |
pankso@3045 | 33 mkdir -p $fs/usr/lib/X11/modules/input/ |
pankso@3045 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@3045 | 35 cp -a $_pkg/usr/lib/X11/modules/input/*.so \ |
pankso@3045 | 36 $fs/usr/lib/X11/modules/input/ |
pankso@3045 | 37 } |
pankso@3045 | 38 |