diff options
author | Michael Nazaroff <naz@gentoo.org> | 2002-07-14 12:28:46 +0000 |
---|---|---|
committer | Michael Nazaroff <naz@gentoo.org> | 2002-07-14 12:28:46 +0000 |
commit | 4a78316eb02b7028a6e754cbfcc67232fa6a7d17 (patch) | |
tree | 73050052d30c5cb9bdfedc6de15b227a52ecd5bc /media-sound/speechd | |
parent | Added new package: umix. (diff) | |
download | gentoo-2-4a78316eb02b7028a6e754cbfcc67232fa6a7d17.tar.gz gentoo-2-4a78316eb02b7028a6e754cbfcc67232fa6a7d17.tar.bz2 gentoo-2-4a78316eb02b7028a6e754cbfcc67232fa6a7d17.zip |
Initial release of speechd
Diffstat (limited to 'media-sound/speechd')
-rw-r--r-- | media-sound/speechd/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/speechd/files/digest-speechd-0.56 | 1 | ||||
-rw-r--r-- | media-sound/speechd/speechd-0.56.ebuild | 66 |
3 files changed, 78 insertions, 0 deletions
diff --git a/media-sound/speechd/ChangeLog b/media-sound/speechd/ChangeLog new file mode 100644 index 000000000000..e7872d948285 --- /dev/null +++ b/media-sound/speechd/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/ChangeLog,v 1.1 2002/07/14 12:28:46 naz Exp $ + +*speechd-0.56 (14 Jul 2002) + + 13 Jul 2002; Michael Nazaroff <naz@gentoo.org> speechd-0.56: + + Initial import. + ebuild submitted by Matt Keadle <mkeadle@ecpi.edu> + diff --git a/media-sound/speechd/files/digest-speechd-0.56 b/media-sound/speechd/files/digest-speechd-0.56 new file mode 100644 index 000000000000..e56f75958e9f --- /dev/null +++ b/media-sound/speechd/files/digest-speechd-0.56 @@ -0,0 +1 @@ +MD5 e74f55f84427c56c9e04961535798b4b speechd-0.56.tar.gz 23815 diff --git a/media-sound/speechd/speechd-0.56.ebuild b/media-sound/speechd/speechd-0.56.ebuild new file mode 100644 index 000000000000..0ef39f7fc285 --- /dev/null +++ b/media-sound/speechd/speechd-0.56.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Matt Keadle (mkeadle@mkeadle.org) +# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/speechd-0.56.ebuild,v 1.1 2002/07/14 12:28:46 naz Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)" +SLOT="0" +SRC_URI="http://www.speechio.org/dl/${P}.tar.gz" +LICENSE="GPL-2" +HOMEPAGE="http://www.speechio.org/" +KEYWORDS="x86" + +DEPEND="sys-devel/perl + media-sound/festival" + +src_compile() { + + emake || die + +} + +src_install () { + + dobin ${S}/bin/speechd ${S}/bin/catspeech + insinto /etc + doins speechdrc speechd.sub + doman ${S}/man/man1/*.1 + dodoc README AUTHORS CHANGELOG COPYING TODO + +} + +pkg_postinst () { + + if ! grep -q ^speech: /etc/group ; then + groupadd speech || die "problem adding group speech" + fi + + einfo "${GOOD}****************************************************************************** *${NORMAL}" + einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config ${GOOD}*${NORMAL}" + einfo "to build the neccessary FIFO on /dev/speech. ${GOOD}*${NORMAL}" + einfo "${GOOD}****************************************************************************** *${NORMAL}" + + + +} + +pkg_config () { + + mkfifo --mode=0660 /dev/speech + chown root.speech /dev/speech + + einfo "${GOOD}************************************************************** *${NORMAL}" + einfo "FIFO has been created on /dev/speech ${GOOD}*${NORMAL}" + einfo " ${GOOD}*${NORMAL}" + einfo "In order for non-root users to take advantage of /dev/speech ${GOOD}*${NORMAL}" + einfo "they must be added to the 'speech' group. ${GOOD}*${NORMAL}" + einfo "${GOOD}************************************************************** *${NORMAL}" +} + +pkg_postrm () { + + einfo "Removing FIFO at /dev/speech ..." + rm -f /dev/speech + +} |