wok-current diff accessx/receipt @ rev 6642

xorg-xf86-input-microtouch: update for new xorg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 10 23:01:40 2010 +0200 (2010-10-10)
parents
children 0b4cf0d9e1b5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessx/receipt	Sun Oct 10 23:01:40 2010 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="accessx"
     1.7 +VERSION="0.951"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="tk tcl"
    1.12 +BUILD_DEPENDS="xorg-libX11-dev"
    1.13 +TARBALL="accessx0951.tar.gz"
    1.14 +WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
    1.15 +WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null
    1.21 +	cd $src
    1.22 +	# Patch for deprecated <iostream.h>
    1.23 +	patch -p0 < ../stuff/accessx.diff || exit 1
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/ax $fs/usr/bin
    1.32 +	cp -a $src/accessx $fs/usr/bin
    1.33 +
    1.34 +	# Change owner & perms accessx
    1.35 +	chown root.root $fs/usr/bin/accessx
    1.36 +	chmod 0755 $fs/usr/bin/accessx
    1.37 +}
    1.38 +