1 |
patrick 14/07/29 04:37:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dietlibc-0.34_pre20140729.ebuild |
5 |
Log: |
6 |
Add new snapshot ebuild |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.99 dev-libs/dietlibc/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.99&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.99&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?r1=1.98&r2=1.99 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v |
20 |
retrieving revision 1.98 |
21 |
retrieving revision 1.99 |
22 |
diff -u -r1.98 -r1.99 |
23 |
--- ChangeLog 26 Jan 2014 12:23:29 -0000 1.98 |
24 |
+++ ChangeLog 29 Jul 2014 04:37:03 -0000 1.99 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-libs/dietlibc |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.98 2014/01/26 12:23:29 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.99 2014/07/29 04:37:03 patrick Exp $ |
30 |
+ |
31 |
+*dietlibc-0.34_pre20140729 (29 Jul 2014) |
32 |
+ |
33 |
+ 29 Jul 2014; Patrick Lauer <patrick@g.o> |
34 |
+ +dietlibc-0.34_pre20140729.ebuild: |
35 |
+ Add new snapshot ebuild |
36 |
|
37 |
26 Jan 2014; Agostino Sarubbo <ago@g.o> |
38 |
dietlibc-0.33_pre20110403.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dietlibc-0.34_pre20140729.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild,v 1.1 2014/07/29 04:37:03 patrick Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit eutils flag-o-matic toolchain-funcs |
55 |
|
56 |
DESCRIPTION="A libc optimized for small size" |
57 |
HOMEPAGE="http://www.fefe.de/dietlibc/" |
58 |
SRC_URI="http://dev.gentoo.org/~patrick/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS=" ~alpha ~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux" |
63 |
IUSE="" |
64 |
|
65 |
DEPEND="" |
66 |
RDEPEND="" |
67 |
|
68 |
DIETHOME=/usr/diet |
69 |
|
70 |
S=${WORKDIR}/dietlibc |
71 |
|
72 |
src_prepare() { |
73 |
# Replace sparc64 related C[XX]FLAGS (see bug #45716) |
74 |
use sparc && replace-sparc64-flags |
75 |
|
76 |
# gcc-hppa suffers support for SSP, compilation will fail |
77 |
use hppa && strip-unsupported-flags |
78 |
|
79 |
# Makefile does not append CFLAGS |
80 |
append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ |
81 |
-Wmissing-prototypes -Wmissing-declarations -Wno-switch \ |
82 |
-Wno-unused -Wredundant-decls -fno-strict-aliasing |
83 |
|
84 |
# only use -nopie on archs that support it |
85 |
gcc-specs-pie && append-flags -nopie |
86 |
|
87 |
sed -i -e 's:strip::' Makefile || die |
88 |
append-flags -Wa,--noexecstack |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
emake prefix="${EPREFIX}"${DIETHOME} \ |
93 |
CC="$(tc-getCC)" \ |
94 |
CFLAGS="${CFLAGS}" \ |
95 |
STRIP=":" |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake prefix="${EPREFIX}"${DIETHOME} \ |
100 |
DESTDIR="${D}" \ |
101 |
install-bin \ |
102 |
install-headers \ |
103 |
install-profiling |
104 |
|
105 |
dobin "${ED}"${DIETHOME}/bin/* |
106 |
doman "${ED}"${DIETHOME}/man/*/* |
107 |
rm -r "${ED}"${DIETHOME}/{man,bin} || die |
108 |
|
109 |
dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING |
110 |
} |