wok-next view accessx/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents f5bfda4cdfe9
children d5aab818505e
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 }