Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/nut: ChangeLog nut-14.1.ebuild
Date: Sat, 22 Nov 2008 00:10:46
Message-Id: E1L3g5E-0006eE-Ng@stork.gentoo.org
1 coldwind 08/11/22 00:10:44
2
3 Modified: ChangeLog
4 Added: nut-14.1.ebuild
5 Log:
6 Version bump, use EAPI 2, honor LDFLAGS, fix --as-needed (bug #246904).
7 (Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
8
9 Revision Changes Path
10 1.11 app-misc/nut/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/nut/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/nut/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/nut/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 11 May 2008 20:53:32 -0000 1.10
23 +++ ChangeLog 22 Nov 2008 00:10:44 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/nut
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.10 2008/05/11 20:53:32 solar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.11 2008/11/22 00:10:44 coldwind Exp $
29 +
30 +*nut-14.1 (22 Nov 2008)
31 +
32 + 22 Nov 2008; Santiago M. Mola <coldwind@g.o>
33 + +files/nut-14.1-build-fixes.patch, +nut-14.1.ebuild:
34 + Version bump, use EAPI 2, honor LDFLAGS, fix --as-needed (bug #246904).
35
36 11 May 2008; <solar@g.o> nut-12.7.ebuild:
37 - Keyworded ~arm/~amd64 and cross-compile love
38
39
40
41 1.1 app-misc/nut/nut-14.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/nut/nut-14.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/nut/nut-14.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nut-14.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-14.1.ebuild,v 1.1 2008/11/22 00:10:44 coldwind Exp $
51
52 EAPI=2
53
54 inherit eutils flag-o-matic toolchain-funcs
55
56 DESCRIPTION="Record what you eat and analyze your nutrient levels"
57 HOMEPAGE="http://nut.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~arm ~alpha ~amd64 ~ppc ~x86 ~amd64"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 src_prepare() {
69 epatch "${FILESDIR}"/${P}-build-fixes.patch
70 }
71
72 src_compile() {
73 append-flags '-DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/share/nut\"'
74 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
75 }
76
77 src_install() {
78 dodir /usr/share/nut
79 insinto /usr/share/nut
80 doins raw.data/*
81 dobin nut
82 doman nut.1
83 }