Add devel verison of dietlibc
Package-Manager: portage-2.2.7 RepoMan-Options: --force
This commit is contained in:
parent
c331fb2d0d
commit
0f814792c3
@ -2,6 +2,11 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
*dietlibc-9999 (28 Dec 2013)
|
||||||
|
|
||||||
|
28 Dec 2013; Mario Fetka <mario.fetka@gmail.com> +dietlibc-9999.ebuild:
|
||||||
|
Add devel verison of dietlibc
|
||||||
|
|
||||||
*dietlibc-0.33 (28 Oct 2013)
|
*dietlibc-0.33 (28 Oct 2013)
|
||||||
|
|
||||||
28 Oct 2013; Mario Fetka <mario.fetka@gmail.com> +dietlibc-0.33.ebuild:
|
28 Oct 2013; Mario Fetka <mario.fetka@gmail.com> +dietlibc-0.33.ebuild:
|
||||||
|
@ -5,5 +5,6 @@ DIST dietlibc_0.33~cvs20120325.orig.tar.gz 726798 SHA256 6366f152587ba167e36ceec
|
|||||||
EBUILD dietlibc-0.33.ebuild 1623 SHA256 a5097a6f17d80cedf038bf7f0cbef7b8de0b03bd61a3425e7331a08b3309c5c3 SHA512 94727f80c1b287a134af219cc8abb08d53aeb0afb5a8c68fab8d62ffc20dc473af52ecafcc50921109b2b521909fa36a14be8c8d68f42ac6ecf5e5e663dbbf55 WHIRLPOOL b8e5d0a4a53ceca9cb2d12c84d49275ffd4d2a6f0b96067daf97dd8d19d2804bf33c89ffbc807b697f3f3cbbafa15814eb3cd2fd36df0df94bd8390fbe472297
|
EBUILD dietlibc-0.33.ebuild 1623 SHA256 a5097a6f17d80cedf038bf7f0cbef7b8de0b03bd61a3425e7331a08b3309c5c3 SHA512 94727f80c1b287a134af219cc8abb08d53aeb0afb5a8c68fab8d62ffc20dc473af52ecafcc50921109b2b521909fa36a14be8c8d68f42ac6ecf5e5e663dbbf55 WHIRLPOOL b8e5d0a4a53ceca9cb2d12c84d49275ffd4d2a6f0b96067daf97dd8d19d2804bf33c89ffbc807b697f3f3cbbafa15814eb3cd2fd36df0df94bd8390fbe472297
|
||||||
EBUILD dietlibc-0.33_pre20120325.ebuild 2001 SHA256 ada8b9b162f4f96c1ae8913152aec7f32f5f983f9e2107012b13eb868f1e648e SHA512 1416565356b2c1efd9dece8613f6144793e4c07494082a36e5110b02e55278d50ab0d3a07ce89ebf1865aca98a4497c2938fbef581cd7d3b3190e7dc072cc27f WHIRLPOOL 20d29099f7959b5ca4264d1c9d8fefb1876296ea90759adf5701cc2ed227b7f89040c6da0fab01baca8525f195935c6c218f51b6314e22d5ce447a09eb937998
|
EBUILD dietlibc-0.33_pre20120325.ebuild 2001 SHA256 ada8b9b162f4f96c1ae8913152aec7f32f5f983f9e2107012b13eb868f1e648e SHA512 1416565356b2c1efd9dece8613f6144793e4c07494082a36e5110b02e55278d50ab0d3a07ce89ebf1865aca98a4497c2938fbef581cd7d3b3190e7dc072cc27f WHIRLPOOL 20d29099f7959b5ca4264d1c9d8fefb1876296ea90759adf5701cc2ed227b7f89040c6da0fab01baca8525f195935c6c218f51b6314e22d5ce447a09eb937998
|
||||||
EBUILD dietlibc-0.33_pre20130103.ebuild 1652 SHA256 ae8728b5c1b7fb839e03dad7cf0b8584c5889cdd2e23e3d55c24c92c4f64742f SHA512 c59e690f73849f9cbc328b0b53c05ca1d3974914298c6aa48c33ec2dacffd539beb1cdb9f07d4aa06ea72a7a9976eed75fe126c1c0db2df2399f65561d32018b WHIRLPOOL 2fa6474dbab3ea6f3bd741cf4d95d65238624af9cb1c8e07d8b4b15509cf6ea3cb23a2ac8bb53f9d3d11e3c9ff57d216f24ad50c047c2b30a5e3eaca38f14207
|
EBUILD dietlibc-0.33_pre20130103.ebuild 1652 SHA256 ae8728b5c1b7fb839e03dad7cf0b8584c5889cdd2e23e3d55c24c92c4f64742f SHA512 c59e690f73849f9cbc328b0b53c05ca1d3974914298c6aa48c33ec2dacffd539beb1cdb9f07d4aa06ea72a7a9976eed75fe126c1c0db2df2399f65561d32018b WHIRLPOOL 2fa6474dbab3ea6f3bd741cf4d95d65238624af9cb1c8e07d8b4b15509cf6ea3cb23a2ac8bb53f9d3d11e3c9ff57d216f24ad50c047c2b30a5e3eaca38f14207
|
||||||
MISC ChangeLog 1197 SHA256 018db1a1141c793d103c54300dce572b02ccb304b894eaf348c27e498a2c2110 SHA512 eed690fafbc3453ca8c1f9d2dcabc7154099bdf01eaad9c006e67ae5488dbad8f549e59683b6d5fed38fafd7ac0db5341ddf0ae6824e200aaf859dcf26859497 WHIRLPOOL e722f9d37114de9a99ef28a9acf6afabcfd1c48dc45008509bf1bb3a706d8fda828018960ad02bf36b17a65876a8667e5388eb418dba8a7e6cd535a263196a55
|
EBUILD dietlibc-9999.ebuild 2091 SHA256 d0e57785bc9232cbc0d797560385baab26df8276ad6962bc93d8bd0543f59b34 SHA512 540ee93eb0afa0e94e8c1c877c5cc2c00a3a944fdad3d504fdf800878e4e85e5cf109af42e12d6a5659d67cfb9a25eb8860d779b9101c9684a05735f91186cda WHIRLPOOL 1f70e5f6ee90304287ab82af06dbc28a67cb50381bec70171b6876c52bde20e07f6f044d3c9b948953092d56f2513a3cf6087e9d166fceede12b4356ece37d15
|
||||||
|
MISC ChangeLog 1334 SHA256 bad333cccdfcfc151a25d5c2691e2fd0b1d451458e052136da0e40ce988c94f8 SHA512 a320d731d1bdce58ca4ec1879322f27a99b5d30266dbef90cd9e0ea53d626991c1a30f20dbd8ec4fbaedf8643a8f642a36bd66595477ab57e0c8101536e5b106 WHIRLPOOL 77a17962ed8f5b918f7542523ef29746f246e30e59c6cf1740a48739f0371e34a0943a24ec35319e02823b572fc1da0be148f47a35a8b70d5728116dfd327f51
|
||||||
MISC metadata.xml 410 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721 SHA512 d0819fcafbbc30e86adb68974c4bf0a09dc049a46a264647e05aa7b2f41543ac7c6fd0e206e73720404f0392cbd55b2736cbb54d63486882d439b8801a3b7547 WHIRLPOOL 1e559e60d0e43f84d18bac49ef2f338257d723fc4531d767c5f3d13511a790bbe94a93f0c60436aa86375cdb1df897e8e2fa58fc2cf8575b6a2da335721b6090
|
MISC metadata.xml 410 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721 SHA512 d0819fcafbbc30e86adb68974c4bf0a09dc049a46a264647e05aa7b2f41543ac7c6fd0e206e73720404f0392cbd55b2736cbb54d63486882d439b8801a3b7547 WHIRLPOOL 1e559e60d0e43f84d18bac49ef2f338257d723fc4531d767c5f3d13511a790bbe94a93f0c60436aa86375cdb1df897e8e2fa58fc2cf8575b6a2da335721b6090
|
||||||
|
74
dev-libs/dietlibc/dietlibc-9999.ebuild
Normal file
74
dev-libs/dietlibc/dietlibc-9999.ebuild
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit cvs eutils flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A libc optimized for small size"
|
||||||
|
HOMEPAGE="http://www.fefe.de/dietlibc/"
|
||||||
|
ECVS_SERVER="cvs.fefe.de:/cvs"
|
||||||
|
ECVS_USER="cvs"
|
||||||
|
ECVS_MODULE="dietlibc"
|
||||||
|
ECVS_LOCALNAME="dietlibc"
|
||||||
|
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
|
||||||
|
S="${WORKDIR}/dietlibc"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
DIETHOME=/usr/diet
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Replace sparc64 related C[XX]FLAGS (see bug #45716)
|
||||||
|
use sparc && replace-sparc64-flags
|
||||||
|
|
||||||
|
# gcc-hppa suffers support for SSP, compilation will fail
|
||||||
|
use hppa && strip-unsupported-flags
|
||||||
|
|
||||||
|
# Makefile does not append CFLAGS
|
||||||
|
append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
|
||||||
|
-Wmissing-prototypes -Wmissing-declarations -Wno-switch \
|
||||||
|
-Wno-unused -Wredundant-decls -fno-strict-aliasing
|
||||||
|
|
||||||
|
# only use -nopie on archs that support it
|
||||||
|
gcc-specs-pie && append-flags -nopie
|
||||||
|
|
||||||
|
sed -i -e 's:strip::' Makefile || die
|
||||||
|
append-flags -Wa,--noexecstack
|
||||||
|
|
||||||
|
ln -sf bin-${ARCH} bin-${CHOST/-*/}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cvs_src_unpack
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake prefix="${EPREFIX}"${DIETHOME} \
|
||||||
|
CC="$(tc-getCC)" \
|
||||||
|
CFLAGS="${CFLAGS}" \
|
||||||
|
STRIP=":"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake prefix="${EPREFIX}"${DIETHOME} \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
install-bin \
|
||||||
|
install-headers
|
||||||
|
|
||||||
|
# broken so add a workaround
|
||||||
|
ln -sf lib-${ARCH} "${D}"/${DIETHOME}/lib-${CHOST/-*/}
|
||||||
|
|
||||||
|
dobin "${ED}"${DIETHOME}/bin/*
|
||||||
|
doman "${ED}"${DIETHOME}/man/*/*
|
||||||
|
rm -r "${ED}"${DIETHOME}/{man,bin} || die
|
||||||
|
|
||||||
|
dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user