wok view accessx/receipt @ rev 15175
gcompris: update LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 16 12:16:09 2013 +0000 (2013-08-16) |
parents | 000b7a8b9347 |
children | c4137c3f7396 |
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
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 }