blob: b226097ca3f2a80605296b9b84171b67d1cd15b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils toolchain-funcs
MY_PV="${PV//./-}"
DESCRIPTION="Programs for processing ABC music notation files"
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-${MY_PV}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}/${P}_gentoo.patch"
rm -rf doc/programming/cvs
}
src_compile() {
tc-export CC
export LNK="$CC"
default
}
src_install() {
emake DESTDIR="${D}" install prefix="/usr" docdir="share/doc/${PF}" || die "Unable to install"
docinto programming
dodoc doc/programming/* *.abc || die "Unable to install documentation"
}
|