wok-next annotate accessx/receipt @ rev 21286

updated gnuradio (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 11:42:09 2019 +0100 (2019-12-08)
parents d5aab818505e
children
rev   line source
al@20881 1 # SliTaz package receipt v2.
paul@6527 2
paul@6527 3 PACKAGE="accessx"
paul@6527 4 VERSION="0.951"
paul@6527 5 CATEGORY="utilities"
al@20881 6 SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features"
paul@6527 7 MAINTAINER="paul@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
al@20881 9 WEB_SITE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
al@20881 10
al@19001 11 TARBALL="$PACKAGE${VERSION//./}.tar.gz"
al@20881 12 WGET_URL="http://cita.disability.uiuc.edu/software/accessx/files/$TARBALL"
paul@6527 13
al@21078 14 BUILD_DEPENDS="libx11-dev libxext-dev tk-dev"
pascal@15362 15
al@20881 16 compile_rules() {
al@20881 17 sed -i 's|$(CC) $(OPTS) ax.C|$(CC) $(LDFLAGS) $(OPTS) ax.C|' Makefile
al@19784 18
al@20881 19 make \
al@21020 20 OPTS="$CXXFLAGS" \
al@20881 21 XLIBDIR="-L/usr/lib" \
al@20881 22 LLIBS="$(pkg-config --libs xext) $(pkg-config --libs x11)" \
al@20881 23 || return 1
al@20881 24
al@20881 25 install -Dm755 accessx $install/usr/bin/accessx
al@20881 26 install -Dm755 ax $install/usr/bin/ax
al@20881 27
al@20881 28 cook_pick_docs README
paul@6527 29 }
paul@6527 30
al@20881 31 genpkg_rules() {
al@20881 32 copy @std
al@21078 33 DEPENDS="libx11 tk tcl"
paul@6527 34 }