wok-current view accessx/receipt @ rev 8989

hatenarunner: download from slitaz mirror
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 08:24:43 2011 +0100 (2011-03-03)
parents 15ac6124bf79
children cbfb348cb173
line source
1 # SliTaz package receipt.
3 PACKAGE="accessx"
4 VERSION="0.951"
5 CATEGORY="utilities"
6 SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="tk tcl"
9 BUILD_DEPENDS="xorg-libX11-dev"
10 TARBALL="accessx0951.tar.gz"
11 WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
12 WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null
18 cd $src
19 # Patch for deprecated <iostream.h>
20 patch -p0 < ../stuff/accessx.diff || return 1
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/ax $fs/usr/bin
29 cp -a $src/accessx $fs/usr/bin
31 # Change owner & perms accessx
32 chown root.root $fs/usr/bin/accessx
33 chmod 0755 $fs/usr/bin/accessx
34 }