summaryrefslogtreecommitdiff
blob: 6ecaca3fa4581c70079f2660716484786dc58276 (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
37
38
39
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.4.2.ebuild,v 1.9 2005/07/25 12:12:44 dholm Exp $

IUSE="doc"

DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme"
HOMEPAGE="http://commonmusic.sourceforge.net"
SRC_URI="mirror://sourceforge/commonmusic/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"

DEPEND=">=dev-util/guile-1.6.4"

src_install() {
	newbin ${FILESDIR}/${PN}-2.4.0-exec ${PN}

	# the installer part needs the bin dir created
	keepdir /usr/share/${PN}/bin

	insinto /usr/share/${PN}/src
	doins ${S}/src/*

	insinto /usr/share/${PN}/etc
	doins ${S}/etc/*

	insinto /usr/share/${PN}/contrib
	doins ${S}/etc/contrib/*

	if use doc; then
		insinto /usr/share/doc/${PF}/examples
		doins ${S}/etc/examples/*
		dohtml -r doc/*
	fi

	dodoc ${S}/readme.text ${S}/doc/changelog.text
}