diff options
author | John J. Ellis <jje@gentoo.org> | 2003-05-18 13:16:24 +0000 |
---|---|---|
committer | John J. Ellis <jje@gentoo.org> | 2003-05-18 13:16:24 +0000 |
commit | 353f246479af726a0b9078173cd9fe249a3223e1 (patch) | |
tree | b0827f2152a3acff8171f1eeff81ce3d1e852cfd /media-sound | |
parent | Initial revision (~x86 masked) closes #16374. (diff) | |
download | historical-353f246479af726a0b9078173cd9fe249a3223e1.tar.gz historical-353f246479af726a0b9078173cd9fe249a3223e1.tar.bz2 historical-353f246479af726a0b9078173cd9fe249a3223e1.zip |
Initial revision (~x86 masked) closes #16374.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/cm/Manifest | 3 | ||||
-rw-r--r-- | media-sound/cm/cm-2.4.0.ebuild | 53 | ||||
-rw-r--r-- | media-sound/cm/files/digest-cm-2.4.0 | 1 |
3 files changed, 56 insertions, 1 deletions
diff --git a/media-sound/cm/Manifest b/media-sound/cm/Manifest index 00d4a727a36e..8587debe3925 100644 --- a/media-sound/cm/Manifest +++ b/media-sound/cm/Manifest @@ -1,2 +1,3 @@ -MD5 1fba8e6627b29a9f473692227d97e57c cm-2.4.0.ebuild 1457 +MD5 063688ea27edd340c187e5939d928e1e cm-2.4.0.ebuild 1547 +MD5 9b0a762db00d68e99bc70b5014202a92 ChangeLog 403 MD5 606a027bb2fa39a2aec9c66ca394eaa8 files/digest-cm-2.4.0 60 diff --git a/media-sound/cm/cm-2.4.0.ebuild b/media-sound/cm/cm-2.4.0.ebuild new file mode 100644 index 000000000000..fc3049f51ff7 --- /dev/null +++ b/media-sound/cm/cm-2.4.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.4.0.ebuild,v 1.1 2003/05/18 13:16:12 jje Exp $ + +DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme" +HOMEPAGE="http://www-ccrma.stanford.edu/software/cm/doc/cm.html" +SRC_URI="ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=guile-1.6.4" +RDEPEND="${DEPEND}" + +src_install() { + dodir /usr/share/${PN} + # the installer part needs the bin dir created + dodir /usr/share/${PN}/bin + dodir /usr/share/${PN}/src + insinto /usr/share/${PN}/src + doins ${S}/src/* + insinto /usr/share/${PN}/src/plotter + doins ${S}/src/plotter/* + dodir /usr/share/${PN}/etc + insinto /usr/share/${PN}/etc + doins ${S}/etc/* + dodir /usr/share/${PN}/contrib + insinto /usr/share/${PN}/contrib + doins ${S}/etc/contrib/* + dodir /usr/share/${PN}/examples + insinto /usr/share/${PN}/examples + doins ${S}/etc/examples/* + dohtml -r doc/* + dodoc ${S}/readme.text ${S}/doc/changelog.text +} + +pkg_postinst() { + # when the package is first run it generates the cm script + # that will load the necessary source files into guile when run + guile -c "(load \"/usr/share/cm/src/cm.scm\")" + ln /usr/share/cm/bin/cm /usr/bin/cm + chmod +x /usr/bin/cm +} + +pkg_prerm() { + if [ -e /usr/bin/cm ]; then + rm /usr/bin/cm + fi + if [ -e /usr/share/cm/bin ]; then + rm -rf /usr/share/cm/bin + fi +} diff --git a/media-sound/cm/files/digest-cm-2.4.0 b/media-sound/cm/files/digest-cm-2.4.0 new file mode 100644 index 000000000000..a897d86a8a3d --- /dev/null +++ b/media-sound/cm/files/digest-cm-2.4.0 @@ -0,0 +1 @@ +MD5 3b76f709feb99f813ec0211f0de9a192 cm-2.4.0.tar.gz 726651 |