diff options
Diffstat (limited to 'app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild')
-rw-r--r-- | app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild b/app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild new file mode 100644 index 000000000000..9d7c2f2b0462 --- /dev/null +++ b/app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speakup/speakup-3.0.3_p20080722.ebuild,v 1.1 2008/07/23 03:51:22 williamh Exp $ + +inherit linux-mod + +DESCRIPTION="The speakup linux kernel based screen reader." +HOMEPAGE="http://linux-speakup.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${PN}-3.0.3" + +pkg_setup() { + linux-mod_pkg_setup + case ${KV_FULL} in + 2.6.2[56]-gentoo*) ;; + *) die "Speakup requires at least gentoo-sources-2.6.25-*" + ;; + esac + + MODULE_NAMES="speakup(${PN}:\"${S}\"/src) + speakup_acntpc(${PN}:\"${S}\"/src) + speakup_acntsa(${PN}:\"${S}\"/src) + speakup_apollo(${PN}:\"${S}\"/src) + speakup_audptr(${PN}:\"${S}\"/src) + speakup_bns(${PN}:\"${S}\"/src) + speakup_decext(${PN}:\"${S}\"/src) + speakup_decpc(${PN}:\"${S}\"/src) + speakup_dectlk(${PN}:\"${S}\"/src) + speakup_dtlk(${PN}:\"${S}\"/src) + speakup_dummy(${PN}:\"${S}\"/src) + speakup_keypc(${PN}:\"${S}\"/src) + speakup_ltlk(${PN}:\"${S}\"/src) + speakup_soft(${PN}:\"${S}\"/src) + speakup_spkout(${PN}:\"${S}\"/src) + speakup_txprt(${PN}:\"${S}\"/src)" + BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}" + BUILD_TARGETS="clean all" +} + +src_install() { + linux-mod_src_install + dodoc Bugs.txt README To-Do doc/DefaultKeyAssignments doc/spkguide.txt + docinto contrib + dodoc contrib/* +} + +pkg_postinst() { + linux-mod_pkg_postinst + + elog "You must set up the speech synthesizer driver to be loaded" + elog "automatically in order for your system to start speaking" + elog "when it is booted." + if has_version "<sys-apps/baselayout-2"; then + elog "this is done via /etc/modules.autoload.d/kernel-2.6" + else + elog "This is done via /etc/conf.d/modules." + fi +} |