diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-02-23 13:56:30 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-02-23 13:56:30 +0000 |
commit | 5fc96024598db1bd03bfa5f4f79e8b05e1d6fa84 (patch) | |
tree | 1ad3ae83489c1df3177e3998a98ffe9d7eb7a305 /sys-libs/musl | |
parent | app-accessibility/sphinxbase: Fix python testing (diff) | |
download | historical-5fc96024598db1bd03bfa5f4f79e8b05e1d6fa84.tar.gz historical-5fc96024598db1bd03bfa5f4f79e8b05e1d6fa84.tar.bz2 historical-5fc96024598db1bd03bfa5f4f79e8b05e1d6fa84.zip |
Add release 0.9.9, bug #458846
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-libs/musl')
-rw-r--r-- | sys-libs/musl/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/musl/Manifest | 30 | ||||
-rw-r--r-- | sys-libs/musl/musl-0.9.9.ebuild | 92 |
3 files changed, 115 insertions, 16 deletions
diff --git a/sys-libs/musl/ChangeLog b/sys-libs/musl/ChangeLog index 8e251cf492c9..03e754df1a33 100644 --- a/sys-libs/musl/ChangeLog +++ b/sys-libs/musl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/musl -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.3 2012/12/26 19:16:47 blueness Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.4 2013/02/23 13:56:17 blueness Exp $ + +*musl-0.9.9 (23 Feb 2013) + + 23 Feb 2013; Anthony G. Basile <blueness@gentoo.org> +musl-0.9.9.ebuild: + Add release 0.9.9, bug #458846 26 Dec 2012; Anthony G. Basile <blueness@gentoo.org> metadata.xml, musl-9999.ebuild: diff --git a/sys-libs/musl/Manifest b/sys-libs/musl/Manifest index 0a96d60d8c6d..fed03f905602 100644 --- a/sys-libs/musl/Manifest +++ b/sys-libs/musl/Manifest @@ -1,23 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +DIST musl-0.9.9.tar.gz 736591 SHA256 91f67d4e1e696df344c93b46bfcb1f6ad6d820e6ae544e3673f496e2d308f492 SHA512 0dbc1e5ac28c9f4592b82ce9017a8d0b12ff719ae88a5a9c26d3948bf8123d08bc42ad16828f9d2e6efd6403d213b2a7095a5cd089a9c5bd2504e426b3f9cc82 WHIRLPOOL 4d517dcd6ec25da521b94f60790896789f90f40e8f3fdd14c803a2692e2aa73bc443b0188a05755cfa9ed73ca45baf29986244609f93594510a9afb05e3738b5 +EBUILD musl-0.9.9.ebuild 2082 SHA256 943aa8027217fb04d93dc81d33e9561bb1874a7d7728dc161277402f3a30f8fd SHA512 e863268b1d275501c713be54e7d81767cc4b48895a338af189d992624e9816f26d875a818810daf835d7968acd7a1862b30781bf5db914d666bdd9aa09f4bf77 WHIRLPOOL d4f422917204bc49a0beda2d2e8975f73fd9dfed426e102430aac5058d8bf73c2aed00b4f15e547207a48420c56cb09f310807def786f2369f2fc34aba60e626 EBUILD musl-9999.ebuild 2081 SHA256 d5deaab281568e0e0565897c1c5a45ed3abe8a2c676292214bc9af22da9eaa01 SHA512 abb24dfaf531d20bf18e66d4253b9069d0e7bac70ba229b053c2facbf50ead9c273255abc2e2c7d76e0d142c534521c42a6e07c459a8e843ee987e3d36482b9d WHIRLPOOL 4c7be533ad299cbbe79f93147cfd5ccd1aeb1dc7c6aade8ca06b7788d9e4fb5f04915b3c9761c228d1081ee4c9b81749639d751bc4ad104db24fbcc8399ebfae -MISC ChangeLog 595 SHA256 4228c4e93fb64e244ac2c46549079201f1514650f072ba151f6f7ddd8c651239 SHA512 5caf011382e27dc1bf4d4827309a18ee0a280ecfffc84e3cb6525f414d1f7fd47acbd234fe35fcf744cefeb927eb812ecfe6735074ad34db9e42f834d4f83c8e WHIRLPOOL 4a9cd8e9997667919a9b37099461398a8ec189bd85d979b458c41e04c26c4dbf0afc6fd0fd7f49cdcaff60d1713b3d0a74a219a8c6136a8c7af92048d5c4a8e2 +MISC ChangeLog 731 SHA256 c58f9aea0119ccfbc6adafb2ea2544137c802f8a3233c92ac4d0e1b6c67c8224 SHA512 8dfb6c1cd67f2e97fb0d349639e9712d80e0339e2df36d5a017e0230732c2483d931004b645884dde1e262842643f456554ed34403efc8fb5cd6b0d60a057063 WHIRLPOOL 0b5e11ee2387fb5ff4956d69aa57ee4e6d80683dcf7fc092d41e20d9d9a08a33eecf1a46ed58a8e3b9e8a99bb8ced6c6aec82a1e47ef18c1e01a730202034859 MISC metadata.xml 327 SHA256 50fe8a277cdb6b47912dee303340c0bde388fa5bacb3e9222fdb4d60264fd064 SHA512 3c5d6d9c9dd3acca5c8de405f9343de5766aabe378d7d0e2efe0c2850d5266efa3a0ae6a2ae3774652879897ef8cead4c1fcca5d9b522c158d04ebd7b0b6ec91 WHIRLPOOL c39ee0f7ad8e61dc1ad168eccd7f58a6ef48a61f81bcfa22995b4265c063b1dae2fd65e61068908e4e7f56afc39e52f9e84a03d42ade2cefa25583409c62ec99 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQ200kAAoJEJOE+m71LUu6IvsP+wZT4aiKFTBTG63GEKnMjMNI -sVwbJ4VnLlcZKofJhw6rW99A3pQHlHbWTdKHc8LxIoFxJw/YnD5TJtNasRL3xrXR -auhEYgQHxHH0teAqc9vQQvF9bo0Zi41uzHQ/I8nM6JeQSBnjFaUNg9i4DGN+lrbh -+MLJrRDg9UDQRIjzFJ8PmadXiB/ylb7Q4dkvQMCIiovVrN5CnUPpTy7MTpIHuRlc -ucnjX0GmxKL3OgtwaqXJmIRBRUhdDdH0a63zyAwCg4ozVm5CQvUd9tDgG7/f31Ml -ZN5NUiMGIVdwlbJgAv74ZwsgM/Zdex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DwPexG1pbU28t77wZYAG6yEcD3kvbfJiu/pNynQwioI92qq +WBX9T3U74JmtxhlWsmpR +=gCb4 -----END PGP SIGNATURE----- diff --git a/sys-libs/musl/musl-0.9.9.ebuild b/sys-libs/musl/musl-0.9.9.ebuild new file mode 100644 index 000000000000..7864f02cab4f --- /dev/null +++ b/sys-libs/musl/musl-0.9.9.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-0.9.9.ebuild,v 1.1 2013/02/23 13:56:17 blueness Exp $ + +EAPI=4 + +inherit eutils flag-o-matic multilib toolchain-funcs +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.musl-libc.org/musl" + inherit git-2 +fi + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +DESCRIPTION="Lightweight, fast and simple C library focused on standards-conformance and safety" +HOMEPAGE="http://www.musl-libc.org/" +if [[ ${PV} != "9999" ]] ; then + PATCH_VER="" + SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz" + KEYWORDS="-* ~amd64 ~arm ~mips" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="crosscompile_opts_headers-only" + +S=${WORKDIR}/${MY_P} + +is_crosscompile() { + [[ ${CHOST} != ${CTARGET} ]] +} + +just_headers() { + use crosscompile_opts_headers-only && is_crosscompile +} + +pkg_setup() { + if [ ${CTARGET} == ${CHOST} ] ; then + case ${CHOST} in + *-musl*) ;; + *) die "Use sys-devel/crossdev to build a musl toolchain" ;; + esac + fi +} + +src_configure() { + tc-export CC + + ./configure \ + --target="${CTARGET}" \ + --prefix="/usr" \ + --disable-gcc-wrapper +} + +src_compile() { + emake include/bits/alltypes.h || die + just_headers && return 0 + + emake || die +} + +src_install() { + local sysroot=${D} + is_crosscompile && sysroot+="/usr/${CTARGET}" + + local target="install" + just_headers && target="install-headers" + emake DESTDIR="${sysroot}" ${target} || die + + # Make sure we install the sys-include symlink so that when + # we build a 2nd stage cross-compiler, gcc finds the target + # system headers correctly. See gcc/doc/gccinstall.info + if is_crosscompile ; then + dosym usr/include /usr/${CTARGET}/sys-include + fi +} + +pkg_postinst() { + is_crosscompile && return 0 + + [ "${ROOT}" != "/" ] && return 0 + # update cache before reloading init + ldconfig + # reload init ... + /sbin/telinit U 2>/dev/null +} |