diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-10 07:14:45 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-10 07:14:45 +0000 |
commit | 710b2bc47af314fcdddc88f3891d004e2c684b05 (patch) | |
tree | 2118b9d7ab36e544951543831c7d7cd462ec071f /app-accessibility | |
parent | fix bug 81414 (diff) | |
download | gentoo-2-710b2bc47af314fcdddc88f3891d004e2c684b05.tar.gz gentoo-2-710b2bc47af314fcdddc88f3891d004e2c684b05.tar.bz2 gentoo-2-710b2bc47af314fcdddc88f3891d004e2c684b05.zip |
Move things to more LSB-FHS friendly locations.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-accessibility')
4 files changed, 125 insertions, 11 deletions
diff --git a/app-accessibility/speech-tools/ChangeLog b/app-accessibility/speech-tools/ChangeLog index c1feb9aa190f..47da7db1e3dd 100644 --- a/app-accessibility/speech-tools/ChangeLog +++ b/app-accessibility/speech-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/speech-tools # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.18 2005/01/06 01:00:40 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/ChangeLog,v 1.19 2005/02/10 07:14:45 eradicator Exp $ + +*speech-tools-1.2.3-r2 (09 Feb 2005) + + 09 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + +speech-tools-1.2.3-r2.ebuild: + Move things to more LSB-FHS friendly locations. 05 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> speech-tools-1.2.3-r1.ebuild: diff --git a/app-accessibility/speech-tools/Manifest b/app-accessibility/speech-tools/Manifest index 6845e7c36f16..81b65560328a 100644 --- a/app-accessibility/speech-tools/Manifest +++ b/app-accessibility/speech-tools/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 4b90bc3d5c24c15cac645f0ff50504d7 ChangeLog 3207 MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185 MD5 b4c4d2d8d6e6dea59a6302e14cfc2d23 speech-tools-1.2.3-r1.ebuild 2900 +MD5 a843b974d4a61ee13ca5a194ad12d100 speech-tools-1.2.3-r2.ebuild 2921 MD5 f2a3bc530651a18ed72fc21647e649cd files/1.2.3-gcc3.4.patch 70365 MD5 a143fa8cb76f282bdd72ae3ad821f9c5 files/58speech-tools 34 MD5 39a388c0402196ce3c2dc7fb2891fa93 files/digest-speech-tools-1.2.3-r1 145 MD5 19e3325adc92d921d82884fe58485055 files/speech-tools-gcc3.3.diff 25787 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB3I3JArHZZzCEUG0RAoGYAJ0aBn+TY1fMWmY+frWX+KN93X6TrwCgiwzI -G3lfvjYFENmR153tWhQC4fs= -=JVP0 ------END PGP SIGNATURE----- +MD5 39a388c0402196ce3c2dc7fb2891fa93 files/digest-speech-tools-1.2.3-r2 145 diff --git a/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r2 b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r2 new file mode 100644 index 000000000000..e1cbb2bbc3cd --- /dev/null +++ b/app-accessibility/speech-tools/files/digest-speech-tools-1.2.3-r2 @@ -0,0 +1,2 @@ +MD5 783051edfa493b5325ac3ff205bdf265 speech_tools-1.2.3-release.tar.gz 1257290 +MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551 diff --git a/app-accessibility/speech-tools/speech-tools-1.2.3-r2.ebuild b/app-accessibility/speech-tools/speech-tools-1.2.3-r2.ebuild new file mode 100644 index 000000000000..16ca33605380 --- /dev/null +++ b/app-accessibility/speech-tools/speech-tools-1.2.3-r2.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.3-r2.ebuild,v 1.1 2005/02/10 07:14:45 eradicator Exp $ + +IUSE="doc" + +inherit eutils fixheadtails gcc + +MY_P=${P/-/_} + +DESCRIPTION="Speech tools for Festival Text to Speech engine" +HOMEPAGE="http://www.cstr.ed.ac.uk/" +SRC_URI="http://www.cstr.ed.ac.uk/download/festival/1.4.3/${MY_P}-release.tar.gz + doc? ( http://www.cstr.ed.ac.uk/download/festival/1.4.3/festdoc-1.4.2.tar.gz )" + +LICENSE="FESTIVAL BSD as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + app-arch/cpio + sys-apps/findutils + >=sys-apps/sed-4" + +S="${WORKDIR}/speech_tools" + +src_unpack() { + unpack ${MY_P}-release.tar.gz + + cd ${S} + use doc && unpack festdoc-1.4.2.tar.gz && mv festdoc-1.4.2 festdoc + + if [ "$(gcc-version)" == "3.3" ]; then + epatch ${FILESDIR}/${PN}-gcc3.3.diff + fi + if [ "$(gcc-version)" == "3.4" ]; then + epatch ${FILESDIR}/${PV}-gcc3.4.patch + fi + ht_fix_file config.guess + sed -i 's:-O3:$(OPTIMISE_CXXFLAGS):' base_class/Makefile + + # Compile fix for #41329. + sed -i 's/-fpic/-fPIC/' config/compilers/gcc_defaults.mak +} + +src_compile() { + econf || die + emake -j1 \ + OPTIMISE_CXXFLAGS="${CXXFLAGS}" \ + OPTIMISE_CCFLAGS="${CFLAGS}" \ + || die +} + +src_install() { + cd ${S}/lib + dolib.so libestbase.so.1.2.3.1 + dosym /usr/$(get_libdir)/libestbase.so.1.2.3.1 /usr/$(get_libdir)/libestbase.so + dolib.so libeststring.so.1.2 + dosym /usr/$(get_libdir)/libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so + dolib.a libestbase.a + dolib.a libestools.a + dolib.a libeststring.a + + exeinto /usr/libexec/speech-tools + cd ${S}/bin + + dodir /usr/lib/speech-tools/share/testsuite + for file in * ; do + [ "${file}" = "Makefile" ] && continue + doexe ${file} + dstfile="/usr/libexec/speech-tools/${file}" + dosed "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile} + dosed "s:${S}/bin:/usr/libexec/speech-tools:g" ${dstfile} + dosed "s:${S}/main:/usr/libexec/speech-tools:g" ${dstfile} + + # This just changes LD_LIBRARY_PATH + dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} + done + + insinto /usr/share/speech-tools/lib/siod + cd ${S}/lib/siod + doins * + + insinto /usr/share/doc/${PF}/example_data + cd ${S}/lib/example_data + doins * + + cd ${S} + find config -print | cpio -pmd ${D}/usr/share/speech-tools || die "Unable to install config files" + + cd ${S}/include + dodir /usr/include/speech-tools + find . -print | cpio -pmd ${D}/usr/include/speech-tools || die "Unable to install include files" + + dosym /usr/include/speech-tools /usr/share/speech-tools/include + + chown -R root:root ${D} + + find ${D}/usr/share/speech-tools/config -type f | xargs sed -i 's/-ltermcap/-lncurses/g' + + insinto /etc/env.d + doins ${FILESDIR}/58speech-tools + + cd ${S} + dodoc README INSTALL + cd ${S}/lib + dodoc cstrutt.dtd + + if use doc ; then + cd ${S}/festdoc/speech_tools/doc + dohtml -r * + fi +} |