wok view accessx/receipt @ rev 16404
Up: slitaz-tools, slitaz-tools-boxes (5.7.2) bugfix
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 16 15:34:54 2014 +0300 (2014-04-16) |
parents | c4137c3f7396 |
children | 762b649a4d73 |
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 LICENSE="GPL2"
9 TARBALL="accessx0951.tar.gz"
10 WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
11 WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
13 DEPENDS="tk tcl"
14 BUILD_DEPENDS="xorg-libX11-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/^LLIBS=.*/& -lX11/' Makefile
20 # Patch for deprecated <iostream.h>
21 patch -p0 < $stuff/accessx.diff || return 1
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/ax $fs/usr/bin
30 cp -a $src/accessx* $fs/usr/bin/accessx
32 # Change owner & perms accessx
33 chown root.root $fs/usr/bin/accessx
34 chmod 0755 $fs/usr/bin/accessx
35 }