wok-next view accessx/receipt @ rev 21076

libxfixes: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 03:02:49 2018 +0200 (2018-12-21)
parents 31563c763422
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
11 TARBALL="$PACKAGE${VERSION//./}.tar.gz"
12 WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev tk-dev"
16 compile_rules() {
17 sed -i 's|$(CC) $(OPTS) ax.C|$(CC) $(LDFLAGS) $(OPTS) ax.C|' Makefile
19 make \
20 OPTS="$CXXFLAGS" \
21 XLIBDIR="-L/usr/lib" \
22 LLIBS="$(pkg-config --libs xext) $(pkg-config --libs x11)" \
23 || return 1
25 install -Dm755 accessx $install/usr/bin/accessx
26 install -Dm755 ax $install/usr/bin/ax
28 cook_pick_docs README
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="xorg-libX11 tk tcl"
34 }