wok-6.x view accessx/receipt @ rev 11589

hydrogen: install hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 09 16:38:12 2012 +0100 (2012-01-09)
parents cbfb348cb173
children 3b1a2605b677
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/accessx
31 # Change owner & perms accessx
32 chown root.root $fs/usr/bin/accessx
33 chmod 0755 $fs/usr/bin/accessx
34 }