wok-current view accessx/receipt @ rev 15293

accessx: link with libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 08:54:59 2013 +0000 (2013-09-27)
parents 3b1a2605b677
children 617dbdeb6f7e
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 sed -i 's/^LLIBS=.*/& -lX11/' Makefile
18 # Patch for deprecated <iostream.h>
19 patch -p0 < $stuff/accessx.diff || return 1
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/ax $fs/usr/bin
28 cp -a $src/accessx* $fs/usr/bin/accessx
30 # Change owner & perms accessx
31 chown root.root $fs/usr/bin/accessx
32 chmod 0755 $fs/usr/bin/accessx
33 }