wok-current annotate accessx/receipt @ rev 24519

updated etherape (0.9.18 -> 0.9.20)
author Hans-G?nter Theisgen
date Tue Feb 22 14:48:21 2022 +0100 (2022-02-22)
parents 762b649a4d73
children
rev   line source
paul@6527 1 # SliTaz package receipt.
paul@6527 2
paul@6527 3 PACKAGE="accessx"
paul@6527 4 VERSION="0.951"
paul@6527 5 CATEGORY="utilities"
paul@6527 6 SHORT_DESC="Set and display Xkeyboard (XCB) Accessx features."
paul@6527 7 MAINTAINER="paul@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
al@19001 9 TARBALL="$PACKAGE${VERSION//./}.tar.gz"
pascal@23696 10 WEB_SITE="https://web.archive.org/web/20150801144644/http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php"
al@19001 11 WGET_URL="$(dirname $WEB_SITE)/files/$TARBALL"
paul@6527 12
pascal@15362 13 DEPENDS="tk tcl"
pascal@15362 14 BUILD_DEPENDS="xorg-libX11-dev"
pascal@15362 15
paul@6527 16 # Rules to configure and make the package.
paul@6527 17 compile_rules()
paul@6527 18 {
pascal@15293 19 sed -i 's/^LLIBS=.*/& -lX11/' Makefile
paul@6527 20 # Patch for deprecated <iostream.h>
pankso@9699 21 patch -p0 < $stuff/accessx.diff || return 1
paul@6527 22 make
paul@6527 23 }
paul@6527 24
paul@6527 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@6527 26 genpkg_rules()
paul@6527 27 {
paul@6527 28 mkdir -p $fs/usr/bin
paul@6527 29 cp -a $src/ax $fs/usr/bin
pascal@10446 30 cp -a $src/accessx* $fs/usr/bin/accessx
paul@6527 31
paul@6527 32 # Change owner & perms accessx
paul@6527 33 chown root.root $fs/usr/bin/accessx
paul@6527 34 chmod 0755 $fs/usr/bin/accessx
paul@6527 35 }
paul@6527 36