diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-03-20 19:40:07 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-03-20 19:40:07 +0000 |
commit | 1b57398fef2f19281ddf5d45e7f3f8f1ec80ec3b (patch) | |
tree | 1c83002e4c533fb3cc5e84986de263bdfd6009ed /sys-libs/musl | |
parent | style fix: change `...` to $(...) (diff) | |
download | historical-1b57398fef2f19281ddf5d45e7f3f8f1ec80ec3b.tar.gz historical-1b57398fef2f19281ddf5d45e7f3f8f1ec80ec3b.tar.bz2 historical-1b57398fef2f19281ddf5d45e7f3f8f1ec80ec3b.zip |
Version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-libs/musl')
-rw-r--r-- | sys-libs/musl/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/musl/Manifest | 30 | ||||
-rw-r--r-- | sys-libs/musl/musl-1.0.0.ebuild | 101 |
3 files changed, 123 insertions, 15 deletions
diff --git a/sys-libs/musl/ChangeLog b/sys-libs/musl/ChangeLog index 557646fb08d8..203d68d09fcb 100644 --- a/sys-libs/musl/ChangeLog +++ b/sys-libs/musl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/musl # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.18 2014/03/10 20:27:04 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.19 2014/03/20 19:39:55 blueness Exp $ + +*musl-1.0.0 (20 Mar 2014) + + 20 Mar 2014; Anthony G. Basile <blueness@gentoo.org> +musl-1.0.0.ebuild: + Version bump 10 Mar 2014; Anthony G. Basile <blueness@gentoo.org> musl-0.9.15.ebuild, musl-9999.ebuild: diff --git a/sys-libs/musl/Manifest b/sys-libs/musl/Manifest index 11bc1f9669e7..407f0d176d8c 100644 --- a/sys-libs/musl/Manifest +++ b/sys-libs/musl/Manifest @@ -2,24 +2,26 @@ Hash: SHA256 DIST musl-0.9.15.tar.gz 829742 SHA256 4a7baab8f295511196dee48d33b8b82a159a81233facb89433707c792033cbe7 SHA512 2c5f3e742cf29fd76db8079b6012b1b359eda635593995ea8add008abc9744f0ca504e915f7828692aeafc3bddc66e0716492182cd5696e2fa24d9a2289601b8 WHIRLPOOL 1ebe60296c15b6d99ade4a181e5e9b73a89e003351adcc0219fe1f5c0c16bf95b1c2cf0d95bed832ab4378f439bd421125b3075ad5b8073ebdbef0ff7472afda +DIST musl-1.0.0.tar.gz 873264 SHA256 1ad7f45d2972daff19c9e6a92714e6d70f4aad003cd8c3d1e6113432114c1a32 SHA512 c76cbfe60cbe9b1ceb1faedddf2dcce0f11c942c8f74e4f217efe63e8e1d7be70fcb6cf1182eeaee90441152c4493d678682cb247a0dbc7537d24f943a7bbdf8 WHIRLPOOL 5397dc8686d13013966581c4b5c8672947db798566299a0f2e18ec72d0652c766fa8bf671eaf1326f4b380a90e041d1d42964de988333fd6a59475923f5dea10 EBUILD musl-0.9.15.ebuild 2408 SHA256 ee38018919924e39f40257633d417ae9f22f2e5a15559dc0cb960c128a03a12a SHA512 981fa1f02da1f5d1e190623d294993ff10b1f2bfad79dfc097d2230ce8d6232070a88aa8e39d6ee54caa04e905dcb0931c2731e5717760bf0e95327faf7b122d WHIRLPOOL ffa45f528df24f83264f83b51be5e996145877d7a45897a2786a620d8197689bbb0d8b58973fd52b68e84c7bbf41a06f046a372033e503050e38b8c804b1c810 +EBUILD musl-1.0.0.ebuild 2407 SHA256 d452c1dc5fc91b53d808aa415da4e1f9d3f388da8b32ae9aa68e53c9f04ff93a SHA512 d38e5982b95ff8ef1e5cdf34d2b6e04bb40d0ff098c31f84cfd4d0167026cb641355e84f4cf282233a82a62e2f03088175fe60c6dfecd813d93718becb26bb2c WHIRLPOOL e0a1feb4ec0cff5454daa5f10a16531e6865aaa48fbc668d108dc802d0abe2451e893f1dcd4c82b4c7ec516f3528c2772cceada3c31c3a925cc429c89e59964a EBUILD musl-9999.ebuild 2406 SHA256 02a4ddf99cd58ec7c863d3a56e21bfedce5c5d217772e5bb888447c66971f9b7 SHA512 a41c27aa2c94bfbfc57af992fc084cc03d23141da93e13d4f7f58d9c65d65c231482193b74988cefbc19ec42a0235e37d122b77e22c19eaa7f0cb9e235c9121c WHIRLPOOL 05acf95fd0cf24ccc6e7e90d68dcbfd4b1dc111859308567cb00107c085c1388fa31c0582416a3134437dfe618912498d2d2f1fbce04f5f7c1db974135fdc505 -MISC ChangeLog 2565 SHA256 f4e539daf153e8a1db8db9c1078f488d0e5ea1daa6e6ab114a8ec60d51a33248 SHA512 e98ee95f7c96cc4bf05d40696d4669aa89260df2b18995c4f61895e71cfee67ada59a5fb4b2f99974f7e3c4f8fb40871550ffc18ecac50fc79af685d8d7bcb72 WHIRLPOOL 2493268bc9111702edb1b24cd0c3586b99c352d4acac379587c3adcc28e0fcffa31e5e2b4581f1ea1aac5977e87b16df58cbaa1fca1e284f7e063ba1ef4f327f +MISC ChangeLog 2683 SHA256 c126b61776c1afd6e4df542fd5c29d8dbbd9117ebeaf94cef4030d4984b32824 SHA512 e3697320a34bf687b1f4555ce489bfd8079a79e72b6a4cfd5db8f9578a991125c9f2334c309deb8b57bc8ed65f4501418bfeeb5172e68e6fd2da837fa2365006 WHIRLPOOL e98104963ffa05792755b14bde5958571ca2050b82f543a3020b9176002e84ce604d819fe6ecaf8c544083c7e4934bd1e91c1282333d321657afdd876510f9c7 MISC metadata.xml 327 SHA256 fd917b3ad115fac11699c82ff087e97c323fe2327f77813c9a2b9cfc27e45042 SHA512 b58ed48ee5332d6e91dfb58faad0a0fecd4b8da27b0edf6c1809a7338764e629eb5c12feb09fae80443b486af27af0d0f2e6ceeb4fc605e6d04b31c1041b3127 WHIRLPOOL 4941c5da58f683ff0a83fdc83017a8fd9a1bbb02fa1b5ea47302ebe7f7d324c0820088acb1eb32263fdb9b4120bc93f24997515bc30515b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6YPbZ687xSmUXvAKYKSgvS8EKE6sGil4lhkMrqaG+oZ3u/3dngMR +JjwMoi9RjD/B1MCwKTQmUo0Xren+buwTatMTivWN2s5o9XAk7M85BxTlgOEU2AIR +QFbPogkDakrXYP1hIXAWOagPKhHnfgxHMXLHlvtEpdGLJyf9eCgJkwUUxfLG4avC +GTtCkQOexbJgj2SXp0SKcOeAOTSwQpH8xWg9+bCJ5dR/gWeJ+dZdtZvnww52xeUj +TjuBUcZjk7QZ9bCzmJEEaQWdpSNyyDs99x8UVMzY0hmFbJLf0GwUAodC/LHebBCo +148ZZvfXGa+8WgRnRFrZmdwYJYpBfU2/jF3/ABUq2cuZRHSMf09DwkjgSHHlfWjQ +qJBCDP7/7xHCwdpP/5T2ihvdA29A/rhRXyb7A+KdQKAECCBpEUZcx4ckrCZ5KDK8 +W7l0JfeEMTUJT72Onit6 +=i+TN -----END PGP SIGNATURE----- diff --git a/sys-libs/musl/musl-1.0.0.ebuild b/sys-libs/musl/musl-1.0.0.ebuild new file mode 100644 index 000000000000..60b924e3231b --- /dev/null +++ b/sys-libs/musl/musl-1.0.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-1.0.0.ebuild,v 1.1 2014/03/20 19:39:55 blueness Exp $ + +EAPI=5 + +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 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="crosscompile_opts_headers-only nls" + +RDEPEND="nls? ( sys-devel/gettext )" +if [[ ${CATEGORY} != cross-* ]] ; then + RDEPEND+=" sys-apps/getent" +fi + +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 + + # If we are going to use gnu's gettext then we have to + # move musl's libintl out of the way. + use nls && mv "${D}"/usr/include/libintl{,-musl}.h +} + +pkg_postinst() { + is_crosscompile && return 0 + + [ "${ROOT}" != "/" ] && return 0 + + # TODO: musl doesn't use ldconfig, instead here we can + # create sym links to libraries outside of /lib and /usr/lib + ldconfig + # reload init ... + /sbin/telinit U 2>/dev/null +} |