You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
839 B
39 lines
839 B
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils versionator autotools
|
|
|
|
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
|
DESCRIPTION="Programs for processing ABC music notation files"
|
|
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
|
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="examples"
|
|
|
|
DEPEND="app-arch/unzip"
|
|
|
|
S=${WORKDIR}/${PN}
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
|
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
|
|
}
|