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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Aug 6 06:24:38 2014 UTC (3 years, 6 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Make description more repoman-happy

(Portage version: 2.2.11-r1/cvs/Linux x86_64, unsigned Manifest commit)

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

  ViewVC Help
Powered by ViewVC 1.1.20