Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/bmake: ChangeLog bmake-20080515.ebuild
Date: Fri, 05 Sep 2008 10:27:00
Message-Id: E1KbYWl-0003Zj-Cg@stork.gentoo.org
1 aballier 08/09/05 10:26:55
2
3 Modified: ChangeLog
4 Added: bmake-20080515.ebuild
5 Log:
6 version bump, dont run tests by default, add a src_test, install mk files in /usr/share/mk/P to avoid collisions.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
8
9 Revision Changes Path
10 1.4 sys-devel/bmake/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bmake/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bmake/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bmake/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 23 Oct 2006 13:33:40 -0000 1.3
23 +++ ChangeLog 5 Sep 2008 10:26:54 -0000 1.4
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-devel/bmake
26 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.3 2006/10/23 13:33:40 exg Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.4 2008/09/05 10:26:54 aballier Exp $
30 +
31 +*bmake-20080515 (05 Sep 2008)
32 +
33 + 05 Sep 2008; Alexis Ballier <aballier@g.o>
34 + +files/bmake-20080515-makefile.patch, +files/bmake-tests.patch,
35 + +bmake-20080515.ebuild:
36 + version bump, dont run tests by default, add a src_test, install mk files
37 + in /usr/share/mk/P to avoid collisions.
38
39 23 Oct 2006; Emanuele Giaquinta <exg@g.o> bmake-20060728.ebuild:
40 Add to ~ppc.
41
42
43
44 1.1 sys-devel/bmake/bmake-20080515.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bmake/bmake-20080515.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bmake/bmake-20080515.ebuild?rev=1.1&content-type=text/plain
48
49 Index: bmake-20080515.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/bmake-20080515.ebuild,v 1.1 2008/09/05 10:26:54 aballier Exp $
54
55 inherit eutils
56
57 MK_VER=20080716
58 DESCRIPTION="NetBSD's portable make"
59 HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html"
60 SRC_URI="http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz
61 http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE=""
67
68 DEPEND=""
69 RDEPEND=""
70
71 S="${WORKDIR}/${PN}"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 epatch "${FILESDIR}"/${P}-makefile.patch
78 epatch "${FILESDIR}"/${PN}-tests.patch
79 }
80
81 src_compile() {
82 econf --with-mksrc=../mk --with-default-sys-path=/usr/share/mk/${PN} || die "Configure failed"
83 emake -f makefile.boot bootstrap || die "Compile failed"
84 }
85
86 src_test() {
87 # $A set by portage confuses the tests...
88 env -u A emake -f makefile.boot check || die "Tests failed"
89 }
90
91 src_install() {
92 emake -f makefile.boot -j1 DESTDIR="${D}" install-bin install-man || die "Install failed"
93 FORCE_BSD_MK=1 SYS_MK_DIR=. sh ../mk/install-mk -v -m 644 "${D}"/usr/share/mk/${PN} || die "failed to install mk files"
94 }