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

Contents of /app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Aug 6 06:24:38 2014 UTC (3 years, 3 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +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-3.1.6_p201011120508.ebuild,v 1.6 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 S="${WORKDIR}/${PN}-3.1.6"
25 MODULE_NAMES="speakup(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
26 speakup_acntpc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
27 speakup_acntsa(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
28 speakup_apollo(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
29 speakup_audptr(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
30 speakup_bns(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
31 speakup_decext(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
32 speakup_decpc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
33 speakup_dectlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
34 speakup_dtlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
35 speakup_dummy(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
36 speakup_keypc(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
37 speakup_ltlk(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
38 speakup_soft(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
39 speakup_spkout(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)
40 speakup_txprt(${PN}:\"${S}\"/modules:\"${S}\"/drivers/staging/speakup)"
41 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
42 BUILD_TARGETS="clean all"
43
44 src_prepare() {
45 use modules && cmd=die || cmd=ewarn
46 if ! kernel_is 2 6 36; then
47 $cmd "This version of speakup requires kernel version 2.6.36"
48 fi
49 }
50
51 src_compile() {
52 use modules && linux-mod_src_compile
53 }
54
55 src_install() {
56 use modules && linux-mod_src_install
57 dodoc Bugs.txt README To-Do
58 dodoc drivers/staging/speakup/DefaultKeyAssignments
59 dodoc drivers/staging/speakup/spkguide.txt
60 }
61
62 pkg_postinst() {
63 use modules && linux-mod_pkg_postinst
64
65 elog "You must set up the speech synthesizer driver to be loaded"
66 elog "automatically in order for your system to start speaking"
67 elog "when it is booted."
68 if has_version "<sys-apps/baselayout-2"; then
69 elog "this is done via /etc/modules.autoload.d/kernel-2.6"
70 else
71 elog "This is done via /etc/conf.d/modules."
72 fi
73 }

  ViewVC Help
Powered by ViewVC 1.1.20