summaryrefslogtreecommitdiff
path: root/media-sound/abcmidi/abcmidi-2023.11.17.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-18 11:02:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-18 11:02:30 +0000
commitce89e807ecd2194613ad6e6bcee8cf95e982ad1a (patch)
tree5664e77b09dcdec8263e4a0ebbf87da3e1524e87 /media-sound/abcmidi/abcmidi-2023.11.17.ebuild
parent7e6812aaf62d1be61aaa50252c7e868fc9eabf4c (diff)
gentoo auto-resync : 18:11:2023 - 11:02:29
Diffstat (limited to 'media-sound/abcmidi/abcmidi-2023.11.17.ebuild')
-rw-r--r--media-sound/abcmidi/abcmidi-2023.11.17.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-sound/abcmidi/abcmidi-2023.11.17.ebuild b/media-sound/abcmidi/abcmidi-2023.11.17.ebuild
new file mode 100644
index 000000000000..636c9619449a
--- /dev/null
+++ b/media-sound/abcmidi/abcmidi-2023.11.17.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="abcMIDI-${PV}"
+DESCRIPTION="Programs for processing ABC music notation files"
+HOMEPAGE="https://ifdo.ca/~seymour/runabc/top.html"
+SRC_URI="https://ifdo.ca/~seymour/runabc/${MY_P}.zip"
+S="${WORKDIR}"/${PN}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+ default
+ sed -i "s:-O2::" configure.ac || die
+ sed -i "s:@datarootdir@/doc/abcmidi:@docdir@:" Makefile.in || die
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ if use examples ; then
+ docinto examples
+ dodoc samples/*.abc
+ fi
+}