wok-next annotate xorg-xf86-input-evdev/receipt @ rev 1323
Add mhash
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 29 07:55:20 2008 +0000 (2008-08-29) |
parents | |
children | 6a6ba65f2ad7 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-input-evdev" |
pankso@451 | 4 VERSION="1.1.2" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg input evdev driver." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@451 | 8 DEPENDS="xorg xorg-server" |
pankso@451 | 9 SOURCE="xf86-input-evdev" |
pankso@451 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@451 | 11 WEB_SITE="http://www.x.org/" |
pankso@451 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 13 |
pankso@451 | 14 # Rules to configure and make the package. |
pankso@451 | 15 compile_rules() |
pankso@451 | 16 { |
pankso@451 | 17 cd $src |
pankso@451 | 18 ./configure \ |
pankso@451 | 19 --prefix=/usr \ |
pankso@451 | 20 --sysconfdir=/etc \ |
pankso@451 | 21 --mandir=/usr/share/man \ |
pankso@451 | 22 --localstatedir=/var \ |
pankso@451 | 23 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@451 | 24 $CONFIGURE_ARGS |
pankso@451 | 25 make |
pankso@451 | 26 make DESTDIR=$PWD/_pkg install |
pankso@451 | 27 } |
pankso@451 | 28 |
pankso@451 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 30 genpkg_rules() |
pankso@451 | 31 { |
pankso@451 | 32 mkdir -p $fs/usr/lib/X11/modules/input/ |
pankso@451 | 33 cp -a $_pkg/usr/lib/X11/modules/input/*.so \ |
pankso@451 | 34 $fs/usr/lib/X11/modules/input/ |
pankso@451 | 35 } |
pankso@451 | 36 |