diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-06 22:07:08 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-06 22:13:29 -0400 |
commit | e222633c3034023daf9f87569e620308eebcf7e5 (patch) | |
tree | ff12c9a069d2420fc740b1ea07d87b2f12970dac /app-doc/csound-manual/csound-manual-6.07.ebuild | |
parent | media-sound/csound: remove old (diff) | |
download | gentoo-e222633c3034023daf9f87569e620308eebcf7e5.tar.gz gentoo-e222633c3034023daf9f87569e620308eebcf7e5.tar.bz2 gentoo-e222633c3034023daf9f87569e620308eebcf7e5.zip |
app-doc/csound-manual: version bump to 6.07
Diffstat (limited to 'app-doc/csound-manual/csound-manual-6.07.ebuild')
-rw-r--r-- | app-doc/csound-manual/csound-manual-6.07.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-doc/csound-manual/csound-manual-6.07.ebuild b/app-doc/csound-manual/csound-manual-6.07.ebuild new file mode 100644 index 000000000000..6e97f5c6bd0f --- /dev/null +++ b/app-doc/csound-manual/csound-manual-6.07.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P=Csound${PV} + +DESCRIPTION="The Csound reference manual" +HOMEPAGE="http://csounds.com/" +SRC_URI=" + https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_pdf.zip + l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_pdf.zip ) + + html? ( + https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_html.zip + l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_html.zip ) + )" + +LICENSE="FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="html" + +LANGS=" fr" +IUSE+="${LANGS// / l10n_}" + +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +src_unpack() { + unpack ${MY_P}_manual_pdf.zip + + if use html ; then + unpack ${MY_P}_manual_html.zip + mv html html-en + fi + + local lang + for lang in ${LANGS} ; do + use l10n_${lang} || continue + unpack ${MY_P}_manual-${lang}_pdf.zip + if use html ; then + unpack ${MY_P}_manual-${lang}_html.zip + mv html html-${lang} + fi + done +} + +src_install() { + dodoc *.pdf + + if use html ; then + docinto html + dodoc -r html-en/* + + local lang + for lang in ${LANGS} ; do + use l10n_${lang} || continue + docinto html-${lang} + dodoc -r html-${lang}/* + done + fi +} |