/[gentoo-x86]/app-accessibility/speakup/speakup-3.1.3.ebuild
Gentoo

Contents of /app-accessibility/speakup/speakup-3.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 28 14:19:27 2010 UTC (7 years, 8 months ago) by williamh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
removed old versions
(Portage version: 2.2_rc61/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/speakup/speakup-3.1.3.ebuild,v 1.3 2009/09/11 02:48:12 darkside Exp $
4
5 EAPI="2"
6
7 inherit linux-mod
8
9 DESCRIPTION="The speakup linux kernel based screen reader."
10 HOMEPAGE="http://linux-speakup.org"
11 SRC_URI="ftp://linux-speakup.org/pub/speakup/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 src_prepare() {
19 case ${KV_EXTRA} in
20 *gentoo)
21 if kernel_is lt 2 6 25; then
22 die "Speakup requires at least gentoo-sources-2.6.25"
23 fi
24 ;;
25 *)
26 if kernel_is lt 2 6 26; then
27 die "Speakup requires at least kernel version2.6.26"
28 fi
29 ;;
30 esac
31 }
32
33 src_compile() {
34 MODULE_NAMES="speakup(${PN}:\"${S}\"/src)
35 speakup_acntpc(${PN}:\"${S}\"/src)
36 speakup_acntsa(${PN}:\"${S}\"/src)
37 speakup_apollo(${PN}:\"${S}\"/src)
38 speakup_audptr(${PN}:\"${S}\"/src)
39 speakup_bns(${PN}:\"${S}\"/src)
40 speakup_decext(${PN}:\"${S}\"/src)
41 speakup_decpc(${PN}:\"${S}\"/src)
42 speakup_dectlk(${PN}:\"${S}\"/src)
43 speakup_dtlk(${PN}:\"${S}\"/src)
44 speakup_dummy(${PN}:\"${S}\"/src)
45 speakup_keypc(${PN}:\"${S}\"/src)
46 speakup_ltlk(${PN}:\"${S}\"/src)
47 speakup_soft(${PN}:\"${S}\"/src)
48 speakup_spkout(${PN}:\"${S}\"/src)
49 speakup_txprt(${PN}:\"${S}\"/src)"
50 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
51 BUILD_TARGETS="clean all"
52 linux-mod_src_compile
53 }
54
55 src_install() {
56 linux-mod_src_install
57 dobin tools/speakupconf
58 dosbin tools/talkwith
59 dodoc Bugs.txt README To-Do doc/DefaultKeyAssignments doc/spkguide.txt
60 newdoc tools/README README.tools
61 }
62
63 pkg_postinst() {
64 linux-mod_pkg_postinst
65
66 elog "You must set up the speech synthesizer driver to be loaded"
67 elog "automatically in order for your system to start speaking"
68 elog "when it is booted."
69 if has_version "<sys-apps/baselayout-2"; then
70 elog "this is done via /etc/modules.autoload.d/kernel-2.6"
71 else
72 elog "This is done via /etc/conf.d/modules."
73 fi
74 }

  ViewVC Help
Powered by ViewVC 1.1.20