Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/dietlibc: ChangeLog dietlibc-0.32_pre20080829.ebuild
Date: Fri, 29 Aug 2008 17:08:40
Message-Id: E1KZ7Sc-0004af-CV@stork.gentoo.org
1 hollow 08/08/29 17:08:34
2
3 Modified: ChangeLog
4 Added: dietlibc-0.32_pre20080829.ebuild
5 Log:
6 new snapshot wrt #227429
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.22-vs2.2.0.6-gentoo x86_64)
8
9 Revision Changes Path
10 1.75 dev-libs/dietlibc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.75&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.75&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dietlibc/ChangeLog?r1=1.74&r2=1.75
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v
19 retrieving revision 1.74
20 retrieving revision 1.75
21 diff -u -r1.74 -r1.75
22 --- ChangeLog 14 Mar 2008 20:16:02 -0000 1.74
23 +++ ChangeLog 29 Aug 2008 17:08:33 -0000 1.75
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/dietlibc
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.74 2008/03/14 20:16:02 hollow Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.75 2008/08/29 17:08:33 hollow Exp $
29 +
30 +*dietlibc-0.32_pre20080829 (29 Aug 2008)
31 +
32 + 29 Aug 2008; Benedikt Böhm <hollow@g.o>
33 + +dietlibc-0.32_pre20080829.ebuild:
34 + new snapshot wrt #227429
35
36 14 Mar 2008; Benedikt Böhm <hollow@g.o> metadata.xml:
37 fix metadata
38
39
40
41 1.1 dev-libs/dietlibc/dietlibc-0.32_pre20080829.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dietlibc/dietlibc-0.32_pre20080829.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dietlibc/dietlibc-0.32_pre20080829.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dietlibc-0.32_pre20080829.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/dev-libs/dietlibc/dietlibc-0.32_pre20080829.ebuild,v 1.1 2008/08/29 17:08:33 hollow Exp $
51
52 inherit eutils flag-o-matic
53
54 DESCRIPTION="A minimal libc"
55 HOMEPAGE="http://www.fefe.de/dietlibc/"
56 SRC_URI="http://people.linux-vserver.org/~hollow/dietlibc/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
61 IUSE="debug"
62
63 DEPEND=""
64
65 DIETHOME=/usr/diet
66
67 pkg_setup() {
68 # Replace sparc64 related C[XX]FLAGS (see bug #45716)
69 use sparc && replace-sparc64-flags
70
71 # gcc-hppa suffers support for SSP, compilation will fail
72 use hppa && strip-unsupported-flags
73
74 # debug flags
75 use debug && append-flags -g
76
77 # Makefile does not append CFLAGS
78 append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
79 -Wmissing-prototypes -Wmissing-declarations -Wno-switch \
80 -Wno-unused -Wredundant-decls
81 }
82
83 src_compile() {
84 emake prefix=${DIETHOME} CFLAGS="${CFLAGS}" || die "make failed"
85 }
86
87 src_install() {
88 emake prefix=${DIETHOME} DESTDIR="${D}" install || die "make install failed"
89 dobin "${D}"${DIETHOME}/bin/* || die "dobin failed"
90 doman "${D}"${DIETHOME}/man/*/* || die "doman failed"
91 rm -r "${D}"${DIETHOME}/{man,bin}
92 dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
93 }