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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 27 17:31:55 2009 UTC (8 years, 10 months ago) by williamh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
removed old versions
(Portage version: 2.2_rc33/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.0.5.ebuild,v 1.1 2009/06/03 02:33:04 williamh Exp $
4
5 inherit linux-mod
6
7 DESCRIPTION="The speakup linux kernel based screen reader."
8 HOMEPAGE="http://linux-speakup.org"
9 SRC_URI="ftp://linux-speakup.org/pub/speakup/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~x86"
13 IUSE=""
14
15 pkg_setup() {
16 linux-mod_pkg_setup
17 case ${KV_EXTRA} in
18 *gentoo)
19 if kernel_is lt 2 6 25; then
20 die "Speakup requires at least gentoo-sources-2.6.25"
21 fi
22 ;;
23 *)
24 if kernel_is lt 2 6 26; then
25 die "Speakup requires at least kernel version2.6.26"
26 fi
27 ;;
28 esac
29
30 MODULE_NAMES="speakup(${PN}:\"${S}\"/src)
31 speakup_acntpc(${PN}:\"${S}\"/src)
32 speakup_acntsa(${PN}:\"${S}\"/src)
33 speakup_apollo(${PN}:\"${S}\"/src)
34 speakup_audptr(${PN}:\"${S}\"/src)
35 speakup_bns(${PN}:\"${S}\"/src)
36 speakup_decext(${PN}:\"${S}\"/src)
37 speakup_decpc(${PN}:\"${S}\"/src)
38 speakup_dectlk(${PN}:\"${S}\"/src)
39 speakup_dtlk(${PN}:\"${S}\"/src)
40 speakup_dummy(${PN}:\"${S}\"/src)
41 speakup_keypc(${PN}:\"${S}\"/src)
42 speakup_ltlk(${PN}:\"${S}\"/src)
43 speakup_soft(${PN}:\"${S}\"/src)
44 speakup_spkout(${PN}:\"${S}\"/src)
45 speakup_txprt(${PN}:\"${S}\"/src)"
46 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
47 BUILD_TARGETS="clean all"
48 }
49
50 src_install() {
51 linux-mod_src_install
52 dodoc Bugs.txt README To-Do doc/DefaultKeyAssignments doc/spkguide.txt
53 docinto contrib
54 dodoc contrib/*
55 }
56
57 pkg_postinst() {
58 linux-mod_pkg_postinst
59
60 elog "You must set up the speech synthesizer driver to be loaded"
61 elog "automatically in order for your system to start speaking"
62 elog "when it is booted."
63 if has_version "<sys-apps/baselayout-2"; then
64 elog "this is done via /etc/modules.autoload.d/kernel-2.6"
65 else
66 elog "This is done via /etc/conf.d/modules."
67 fi
68 }

  ViewVC Help
Powered by ViewVC 1.1.20