wok-current annotate xorg-xf86-input-plpevtch/receipt @ rev 5235
tazpkg-web: add 2.0 version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 17:25:45 2010 +0200 (2010-04-08) |
parents | 13875701b2cc |
children | 4450dbac2bcc |
rev | line source |
---|---|
pascal@4881 | 1 # SliTaz package receipt. |
pascal@4881 | 2 |
pascal@4881 | 3 PACKAGE="xorg-xf86-input-plpevtch" |
pascal@4881 | 4 VERSION="0.4.0" |
pascal@4881 | 5 CATEGORY="x-window" |
pascal@4882 | 6 SHORT_DESC="Xorg server driver for touchscreens." |
pascal@4882 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4881 | 8 DEPENDS="xorg" |
pascal@4883 | 9 BUILD_DEPENDS="xorg-server xorg-xproto pkg-config xorg-server-dev \ |
pascal@4883 | 10 xorg-inputproto xorg-randrproto" |
pascal@4881 | 11 SOURCE="xf86-input-plpevtch" |
pascal@4881 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@4882 | 13 WEB_SITE="http://www.plop.at/en/touchscreen.html" |
pascal@4881 | 14 WGET_URL="http://download.plop.at/files/plpevtch/$TARBALL" |
pascal@4881 | 15 |
pascal@4881 | 16 # Rules to configure and make the package. |
pascal@4881 | 17 compile_rules() |
pascal@4881 | 18 { |
pascal@4881 | 19 cd $src |
pascal@4881 | 20 ./configure \ |
pascal@4881 | 21 --prefix=/usr \ |
pascal@4881 | 22 --sysconfdir=/etc \ |
pascal@4881 | 23 --mandir=/usr/share/man \ |
pascal@4881 | 24 --localstatedir=/var \ |
pascal@4881 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pascal@4881 | 26 $CONFIGURE_ARGS && |
pascal@4881 | 27 make && |
pascal@4881 | 28 make DESTDIR=$PWD/_pkg install |
pascal@4881 | 29 } |
pascal@4881 | 30 |
pascal@4881 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4881 | 32 genpkg_rules() |
pascal@4881 | 33 { |
pascal@4881 | 34 mkdir -p $fs/usr/lib/X11/modules/input/ |
pascal@4881 | 35 cp -a $_pkg/usr/lib/X11/modules/input/*.so \ |
pascal@4881 | 36 $fs/usr/lib/X11/modules/input/ |
pascal@4881 | 37 } |
pascal@4881 | 38 |