summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-01 04:18:01 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-01 04:18:01 +0000
commiteabe4931a64ad1ba4bd94b54d59df2fd953f0627 (patch)
treea1b5a689f1b4bf7c913ca1c28ce7577e9f7cee54 /media-sound/cm
parentVersion bump. New xml2 USE flag. (Manifest recommit) (diff)
downloadgentoo-2-eabe4931a64ad1ba4bd94b54d59df2fd953f0627.tar.gz
gentoo-2-eabe4931a64ad1ba4bd94b54d59df2fd953f0627.tar.bz2
gentoo-2-eabe4931a64ad1ba4bd94b54d59df2fd953f0627.zip
Version bump. Closes bug #39677.
Diffstat (limited to 'media-sound/cm')
-rw-r--r--media-sound/cm/ChangeLog9
-rw-r--r--media-sound/cm/Manifest2
-rw-r--r--media-sound/cm/cm-2.4.0.ebuild22
-rw-r--r--media-sound/cm/cm-2.4.2.ebuild56
-rw-r--r--media-sound/cm/files/digest-cm-2.4.21
5 files changed, 78 insertions, 12 deletions
diff --git a/media-sound/cm/ChangeLog b/media-sound/cm/ChangeLog
index d4b48e4ea0ea..4e6f3b9b5696 100644
--- a/media-sound/cm/ChangeLog
+++ b/media-sound/cm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/cm
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/ChangeLog,v 1.1 2003/05/18 13:16:12 jje Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/ChangeLog,v 1.2 2004/03/01 04:18:01 eradicator Exp $
+
+*cm-2.4.2 (29 Feb 2004)
+
+ 29 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> cm-2.4.2.ebuild:
+ Version bump. Closes bug #39677.
*cm-2.4.0 (18 May 2003)
diff --git a/media-sound/cm/Manifest b/media-sound/cm/Manifest
index c5b23c30f464..b4207d262113 100644
--- a/media-sound/cm/Manifest
+++ b/media-sound/cm/Manifest
@@ -1,4 +1,6 @@
MD5 3feae80963ba3692b0754d18300e3468 cm-2.4.0.ebuild 1512
+MD5 28ea723c6dfb8689084ea3c5da1434c6 cm-2.4.2.ebuild 1519
MD5 9b0a762db00d68e99bc70b5014202a92 ChangeLog 403
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 606a027bb2fa39a2aec9c66ca394eaa8 files/digest-cm-2.4.0 60
+MD5 96488265785c0bf4e9e394238f5b8e23 files/digest-cm-2.4.2 60
diff --git a/media-sound/cm/cm-2.4.0.ebuild b/media-sound/cm/cm-2.4.0.ebuild
index d24d63816e43..3ad3068c6d14 100644
--- a/media-sound/cm/cm-2.4.0.ebuild
+++ b/media-sound/cm/cm-2.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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.5 2003/09/11 01:21:31 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.4.0.ebuild,v 1.6 2004/03/01 04:18:01 eradicator Exp $
DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme"
HOMEPAGE="http://www-ccrma.stanford.edu/software/cm/doc/cm.html"
@@ -17,6 +17,7 @@ src_install() {
dodir /usr/share/${PN}
# the installer part needs the bin dir created
dodir /usr/share/${PN}/bin
+ touch ${D}/usr/share/${PN}/bin/.keep
dodir /usr/share/${PN}/src
insinto /usr/share/${PN}/src
doins ${S}/src/*
@@ -43,11 +44,12 @@ pkg_postinst() {
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
-}
+# This will break upgrades... find a better way
+#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/cm-2.4.2.ebuild b/media-sound/cm/cm-2.4.2.ebuild
new file mode 100644
index 000000000000..94a99f0ba1e3
--- /dev/null
+++ b/media-sound/cm/cm-2.4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 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.2.ebuild,v 1.1 2004/03/01 04:18:01 eradicator Exp $
+
+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"
+RESTRICT="nomirror"
+
+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
+ touch ${D}/usr/share/${PN}/bin/.keep
+ 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
+}
+
+#This will break upgrades
+#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.2 b/media-sound/cm/files/digest-cm-2.4.2
new file mode 100644
index 000000000000..c0a121d004d5
--- /dev/null
+++ b/media-sound/cm/files/digest-cm-2.4.2
@@ -0,0 +1 @@
+MD5 2f33e9dac1aff473ae1af1ca38d4ec96 cm-2.4.2.tar.gz 463552