Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 197837
Collapse All | Expand All

(-)mbrola-3.0.1h-r4.ebuild (-1 / +10 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/mbrola-3.0.1h-r4.ebuild,v 1.13 2007/07/06 10:27:58 uberlord Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/mbrola/mbrola-3.0.1h-r4.ebuild,v 1.13 2007/07/06 10:27:58 uberlord Exp $
4
4
5
IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_ro"
5
IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_la linguas_pl linguas_ro"
6
6
7
S=${WORKDIR}
7
S=${WORKDIR}
8
8
Lines 29-34 Link Here
29
		${TCTS}/mbrola/dba/fr6/fr6-010330.zip )
29
		${TCTS}/mbrola/dba/fr6/fr6-010330.zip )
30
	linguas_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip
30
	linguas_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip
31
		${TCTS}/mbrola/dba/it4/it4-010926.zip )
31
		${TCTS}/mbrola/dba/it4/it4-010926.zip )
32
	linguas_la? ( ${TCTS}/mbrola/dba/la1/la1.zip )
33
	linguas_pl? ( ${TCTS}/mbrola/dba/pl1/pl1.zip )
32
	linguas_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )"
34
	linguas_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )"
33
35
34
DEPEND="app-arch/unzip"
36
DEPEND="app-arch/unzip"
Lines 42-47 Link Here
42
src_unpack () {
44
src_unpack () {
43
	unpack ${A}
45
	unpack ${A}
44
46
47
	[[ -f "pl1" ]] && mkdir pl1DIR && mv pl1 pl1.txt pl1DIR && mv test pl1DIR/TEST && mv pl1DIR pl1
48
45
	case ${ARCH} in
49
	case ${ARCH} in
46
		x86|amd64)
50
		x86|amd64)
47
			cp mbrola-linux-i386 mbrola || die
51
			cp mbrola-linux-i386 mbrola || die
Lines 79-84 Link Here
79
			doins ${voice}/TEST/*
83
			doins ${voice}/TEST/*
80
		fi
84
		fi
81
85
86
		if [[ -d "${voice}/test" ]]; then
87
			insinto /opt/${PN}/${voice}/test
88
			doins ${voice}/test/*
89
		fi
90
82
		[[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt
91
		[[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt
83
	done
92
	done
84
93

Return to bug 197837