wok-next view yasr/receipt @ rev 21640

updated fbgrab (1.2 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Jun 26 15:42:40 2020 +0100 (2020-06-26)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="yasr"
4 VERSION="0.6.9"
5 CATEGORY="utilities"
6 SHORT_DESC="General purpose console screen reader"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://yasr.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 ./configure \
16 --prefix=/usr \
17 $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$install install
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr/share
24 cp -a $install/usr/bin $fs/usr
25 cp -a $install/usr/share/yasr $fs/usr/share
26 DEPENDS="speech-dispatcher espeak bash"
27 }
29 post_install() {
30 # Enable speech-synthesizer in config file
31 sed 's!synthesizer=emacspeak!#synthesizer=emacspeak!;
32 s!#synthesizer=speech!synthesizer=speech!;
33 s!synthesizer port=|!#synthesizer port=|!;
34 s!#synthesizer port=127.!synthesizer port=127.!' \
35 -i "$1/usr/share/yasr/yasr.conf"
36 }