diff options
Diffstat (limited to 'media-sound/abcmidi/abcmidi-2016.07.20.ebuild')
-rw-r--r-- | media-sound/abcmidi/abcmidi-2016.07.20.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/abcmidi/abcmidi-2016.07.20.ebuild b/media-sound/abcmidi/abcmidi-2016.07.20.ebuild new file mode 100644 index 000000000000..9d2ae4c6fd16 --- /dev/null +++ b/media-sound/abcmidi/abcmidi-2016.07.20.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools + +MY_P="abcMIDI-${PV}" +DESCRIPTION="Programs for processing ABC music notation files" +HOMEPAGE="http://ifdo.ca/~seymour/runabc/top.html" +SRC_URI="http://ifdo.ca/~seymour/runabc/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} + +src_prepare() { + local PATCHES=( "${FILESDIR}"/${PN}-2016.05.05-docs.patch ) + default + + rm configure makefile || die + sed -i "s:-O2::" configure.ac || die + + eautoreconf +} + +src_install() { + default + dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt} + + if use examples ; then + docinto examples + dodoc samples/*.abc + fi +} |