1 |
blueness 13/06/30 09:05:36 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: musl-0.9.11.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 sys-libs/musl/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/musl/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 26 Dec 2012 19:16:47 -0000 1.3 |
24 |
+++ metadata.xml 30 Jun 2013 09:05:36 -0000 1.4 |
25 |
@@ -3,10 +3,10 @@ |
26 |
<pkgmetadata> |
27 |
<herd>toolchain</herd> |
28 |
<maintainer> |
29 |
- <email>lu_zero@g.o</email> |
30 |
- </maintainer> |
31 |
- <maintainer> |
32 |
<email>blueness@g.o</email> |
33 |
<name>Anthony G. Basile</name> |
34 |
</maintainer> |
35 |
+ <maintainer> |
36 |
+ <email>lu_zero@g.o</email> |
37 |
+ </maintainer> |
38 |
</pkgmetadata> |
39 |
|
40 |
|
41 |
|
42 |
1.8 sys-libs/musl/ChangeLog |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?rev=1.8&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?rev=1.8&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/ChangeLog?r1=1.7&r2=1.8 |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v |
51 |
retrieving revision 1.7 |
52 |
retrieving revision 1.8 |
53 |
diff -u -r1.7 -r1.8 |
54 |
--- ChangeLog 13 Jun 2013 19:57:01 -0000 1.7 |
55 |
+++ ChangeLog 30 Jun 2013 09:05:36 -0000 1.8 |
56 |
@@ -1,6 +1,12 @@ |
57 |
# ChangeLog for sys-libs/musl |
58 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.7 2013/06/13 19:57:01 blueness Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.8 2013/06/30 09:05:36 blueness Exp $ |
61 |
+ |
62 |
+*musl-0.9.11 (30 Jun 2013) |
63 |
+ |
64 |
+ 30 Jun 2013; Anthony G. Basile <blueness@g.o> +musl-0.9.11.ebuild, |
65 |
+ metadata.xml: |
66 |
+ Version bump |
67 |
|
68 |
13 Jun 2013; Anthony G. Basile <blueness@g.o> -musl-0.9.9.ebuild, |
69 |
musl-0.9.10.ebuild, musl-9999.ebuild: |
70 |
|
71 |
|
72 |
|
73 |
1.1 sys-libs/musl/musl-0.9.11.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-0.9.11.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/musl/musl-0.9.11.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: musl-0.9.11.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2013 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-0.9.11.ebuild,v 1.1 2013/06/30 09:05:36 blueness Exp $ |
83 |
|
84 |
EAPI=4 |
85 |
|
86 |
inherit eutils flag-o-matic multilib toolchain-funcs |
87 |
if [[ ${PV} == "9999" ]] ; then |
88 |
EGIT_REPO_URI="git://git.musl-libc.org/musl" |
89 |
inherit git-2 |
90 |
fi |
91 |
|
92 |
export CBUILD=${CBUILD:-${CHOST}} |
93 |
export CTARGET=${CTARGET:-${CHOST}} |
94 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
95 |
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
96 |
export CTARGET=${CATEGORY/cross-} |
97 |
fi |
98 |
fi |
99 |
|
100 |
DESCRIPTION="Lightweight, fast and simple C library focused on standards-conformance and safety" |
101 |
HOMEPAGE="http://www.musl-libc.org/" |
102 |
if [[ ${PV} != "9999" ]] ; then |
103 |
PATCH_VER="" |
104 |
SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz" |
105 |
KEYWORDS="-* ~amd64 ~arm ~mips" |
106 |
fi |
107 |
|
108 |
LICENSE="MIT" |
109 |
SLOT="0" |
110 |
IUSE="crosscompile_opts_headers-only" |
111 |
|
112 |
is_crosscompile() { |
113 |
[[ ${CHOST} != ${CTARGET} ]] |
114 |
} |
115 |
|
116 |
just_headers() { |
117 |
use crosscompile_opts_headers-only && is_crosscompile |
118 |
} |
119 |
|
120 |
pkg_setup() { |
121 |
if [ ${CTARGET} == ${CHOST} ] ; then |
122 |
case ${CHOST} in |
123 |
*-musl*) ;; |
124 |
*) die "Use sys-devel/crossdev to build a musl toolchain" ;; |
125 |
esac |
126 |
fi |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
tc-export CC |
131 |
|
132 |
./configure \ |
133 |
--target="${CTARGET}" \ |
134 |
--prefix="/usr" \ |
135 |
--disable-gcc-wrapper |
136 |
} |
137 |
|
138 |
src_compile() { |
139 |
emake include/bits/alltypes.h || die |
140 |
just_headers && return 0 |
141 |
|
142 |
emake || die |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
local sysroot=${D} |
147 |
is_crosscompile && sysroot+="/usr/${CTARGET}" |
148 |
|
149 |
local target="install" |
150 |
just_headers && target="install-headers" |
151 |
emake DESTDIR="${sysroot}" ${target} || die |
152 |
|
153 |
# Make sure we install the sys-include symlink so that when |
154 |
# we build a 2nd stage cross-compiler, gcc finds the target |
155 |
# system headers correctly. See gcc/doc/gccinstall.info |
156 |
if is_crosscompile ; then |
157 |
dosym usr/include /usr/${CTARGET}/sys-include |
158 |
fi |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
is_crosscompile && return 0 |
163 |
|
164 |
[ "${ROOT}" != "/" ] && return 0 |
165 |
# update cache before reloading init |
166 |
ldconfig |
167 |
# reload init ... |
168 |
/sbin/telinit U 2>/dev/null |
169 |
} |