# SliTaz package receipt. PACKAGE="accessx" VERSION="0.951" CATEGORY="utilities" SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE${VERSION//./}.tar.gz" WEB_SITE="https://web.archive.org/web/20150801144644/http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php" WGET_URL="$(dirname $WEB_SITE)/files/$TARBALL" DEPENDS="tk tcl" BUILD_DEPENDS="xorg-libX11-dev" # Rules to configure and make the package. compile_rules() { sed -i 's/^LLIBS=.*/& -lX11/' Makefile # Patch for deprecated patch -p0 < $stuff/accessx.diff || return 1 make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/ax $fs/usr/bin cp -a $src/accessx* $fs/usr/bin/accessx # Change owner & perms accessx chown root.root $fs/usr/bin/accessx chmod 0755 $fs/usr/bin/accessx }