blob: e8555e78e0b3911565d0065c5ea00c48fe205888 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
MY_P="${P/_/}"
DESCRIPTION="Console based speech recognition system"
HOMEPAGE="http://www.kiecza.net/daniel/linux"
SRC_URI="http://www.kiecza.net/daniel/linux/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${P}-gentoo-2.patch"
"${FILESDIR}/${P}-tinfo.patch" #647166
)
src_prepare() {
default
# Handle documentation with dohtml instead.
sed \
-e "s:SUBDIRS = docs:#SUBDIRS = docs:" \
-i cvoicecontrol/Makefile.am || die
eautoreconf #647166
sed \
-e "s/install-data-am: install-data-local/install-data-am:/" \
-i Makefile.in || die
}
src_install () {
HTML_DOCS=( cvoicecontrol/docs/en/*.html )
default
}
|