wok annotate xorg-xf86-input-evdev/receipt @ rev 13661
ccid: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 21:52:14 2012 +0100 (2012-11-21) |
parents | 68b1394d9366 |
children | eb8067417980 |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xf86-input-evdev" |
pankso@12533 | 4 VERSION="2.7.0" |
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 SOURCE="xf86-input-evdev" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 10 WEB_SITE="http://www.x.org/" |
pankso@451 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@451 | 12 |
pankso@10781 | 13 # We can use xorg-server-light with evdev and vesa driver. |
pankso@10781 | 14 #DEPENDS="xorg-server" |
pankso@10781 | 15 BUILD_DEPENDS="xorg-server-dev" |
pankso@10781 | 16 |
pankso@12533 | 17 MODS='/usr/lib/X11/modules' |
pankso@12533 | 18 |
pankso@451 | 19 # Rules to configure and make the package. |
pankso@451 | 20 compile_rules() |
pankso@451 | 21 { |
pankso@10781 | 22 cd $src |
pankso@10781 | 23 ./configure \ |
pankso@10781 | 24 --sysconfdir=/etc \ |
pankso@10781 | 25 --localstatedir=/var \ |
pankso@12533 | 26 --with-xorg-module-dir=$MODS \ |
pankso@10781 | 27 $CONFIGURE_ARGS && |
pankso@10781 | 28 make && make install |
pankso@451 | 29 } |
pankso@451 | 30 |
pankso@451 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 32 genpkg_rules() |
pankso@451 | 33 { |
pankso@12533 | 34 mkdir -p ${fs}${MODS}/input $fs/etc/X11/xorg.conf.d |
pankso@12533 | 35 cp -a ${install}${MODS}/input/*.so ${fs}${MODS}/input |
pascal@8974 | 36 cp -a $stuff/*evdev.conf $fs/etc/X11/xorg.conf.d |
pankso@451 | 37 } |
pankso@451 | 38 |