Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mup: mup-5.4.ebuild
Date: Fri, 05 Jun 2009 16:10:14
Message-Id: E1MCbze-0007YX-JC@stork.gentoo.org
1 ssuominen 09/06/05 16:10:10
2
3 Modified: mup-5.4.ebuild
4 Log:
5 Tidy before opening stable bug
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.4 media-sound/mup/mup-5.4.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mup/mup-5.4.ebuild?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mup/mup-5.4.ebuild?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mup/mup-5.4.ebuild?r1=1.3&r2=1.4
14
15 Index: mup-5.4.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/mup/mup-5.4.ebuild,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- mup-5.4.ebuild 15 Dec 2008 01:45:10 -0000 1.3
22 +++ mup-5.4.ebuild 5 Jun 2009 16:10:10 -0000 1.4
23 @@ -1,8 +1,8 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-5.4.ebuild,v 1.3 2008/12/15 01:45:10 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-5.4.ebuild,v 1.4 2009/06/05 16:10:10 ssuominen Exp $
29
30 -EAPI="1"
31 +EAPI=2
32 inherit eutils toolchain-funcs
33
34 DESCRIPTION="Program for printing music scores"
35 @@ -23,19 +23,17 @@
36 DEPEND="${RDEPEND}
37 x11-proto/xproto"
38
39 -src_unpack() {
40 - unpack ${A}
41 - cd "${S}"
42 +src_prepare() {
43 epatch "${FILESDIR}"/${P}-Makefile.patch
44 }
45
46 src_compile() {
47 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
48 - CFLAGS="${CFLAGS}" || die "emake failed."
49 + CFLAGS="${CFLAGS}" || die "emake failed"
50 }
51
52 src_install() {
53 - emake DESTDIR="${D}" install || die "emake install failed."
54 + emake DESTDIR="${D}" install || die "emake install failed"
55 dodoc docs/{*.txt,README0}
56 dohtml docs/{*.html,uguide/*}
57 docinto sample