blob: 13627826d2a9805a97cc489266c008422c312ea0 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcm2ps/abcm2ps-4.12.24.ebuild,v 1.3 2009/05/08 18:45:29 gentoofan23 Exp $
inherit eutils
DESCRIPTION="A program to convert abc files to Postscript files"
HOMEPAGE="http://moinejf.free.fr/"
SRC_URI="http://moinejf.free.fr/${P}.tar.gz
http://moinejf.free.fr/transpose_abc.pl"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
src_compile() {
# a4: A4 format instead of US letter
# deco-is-roll: ~ as roll instead of twiddle (generate 2 files)
# clef-transpose: have clef changing the note pitch
econf \
--with-a4 \
--with-deco-is-roll \
--with-clef-transpose
emake || die "Emake failed!"
}
src_install() {
dodoc README *.txt Changes || die "Dodoc failed!"
dobin abcm2ps || die "Dobin failed"
insinto /usr/share/${PN}
doins *.fmt || die "Doins *.fmt failed!"
insinto /usr/share/doc/${P}/examples
doins *.abc *.eps || die "Doins *.abc *.eps failed!"
insinto /usr/share/doc/${P}/contrib
doins "${DISTDIR}"/transpose_abc.pl || die "Doins transpose_abc.pl failed!"
}
|