summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-10-24 23:23:45 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-10-24 23:23:45 +0000
commitaecf45630c5f4eac9d4b6999c3737c51798ac28c (patch)
tree0990741d680891b040bbbb6905ca6be349885c34 /media-sound/speechd
parentremoved "*****" boxes (diff)
downloadhistorical-aecf45630c5f4eac9d4b6999c3737c51798ac28c.tar.gz
historical-aecf45630c5f4eac9d4b6999c3737c51798ac28c.tar.bz2
historical-aecf45630c5f4eac9d4b6999c3737c51798ac28c.zip
removed "*****" boxes
Diffstat (limited to 'media-sound/speechd')
-rw-r--r--media-sound/speechd/speechd-0.56.ebuild30
1 files changed, 7 insertions, 23 deletions
diff --git a/media-sound/speechd/speechd-0.56.ebuild b/media-sound/speechd/speechd-0.56.ebuild
index 67b03c06d0c8..22f18fdc69cf 100644
--- a/media-sound/speechd/speechd-0.56.ebuild
+++ b/media-sound/speechd/speechd-0.56.ebuild
@@ -1,7 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# Maintainer: Matt Keadle (mkeadle@mkeadle.org)
-# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/speechd-0.56.ebuild,v 1.3 2002/10/04 05:54:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/speechd-0.56.ebuild,v 1.4 2002/10/24 23:23:45 blizzy Exp $
S=${WORKDIR}/${PN}
DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)"
@@ -16,52 +15,37 @@ 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}"
-
-
-
+ einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to build the neccessary FIFO on /dev/speech."
}
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}"
+ einfo "FIFO has been created on /dev/speech"
+ einfo ""
+ einfo "In order for non-root users to take advantage of /dev/speech"
+ einfo "they must be added to the 'speech' group."
}
pkg_postrm () {
-
einfo "Removing FIFO at /dev/speech ..."
rm -f /dev/speech
-
}