wok view yasr/receipt @ rev 24432

updated libnetfilter_conntrack and libnetfilter_conntrack-dev (1.0.7 -> 1.0.8)
author Hans-G?nter Theisgen
date Sat Feb 12 17:34:21 2022 +0100 (2022-02-12)
parents 970c5ec9a60a
children 7dd01dedad38
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://yasr.sourceforge.net/"
11 WGET_URL="http://prdownloads.sourceforge.net/yasr/$TARBALL"
13 DEPENDS="speech-dispatcher espeak bash"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/> version/!d;s|.*-||;s|.tar.*||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/yasr
26 patch -p0 < $stuff/yasr.patch || return 1
27 cd ../
28 ./configure \
29 --prefix=/usr $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/yasr $fs/usr/share
39 }
41 post_install()
42 {
43 # Enable speech-synthesizer in config file
44 echo
45 echo -n "Enabling config file..."
46 cd "$1/usr/share/yasr"
47 sed -i 's/synthesizer=emacspeak/#synthesizer=emacspeak/; \
48 s/#synthesizer=speech/synthesizer=speech/; \
49 s/synthesizer port=|/#synthesizer port=|/; \
50 s/#synthesizer port=127./synthesizer port=127./' yasr.conf
51 status
52 }