diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2006-05-03 06:04:10 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2006-05-03 06:04:10 +0000 |
commit | 30cda182d6494c635ccfe4e63431b803ca78f200 (patch) | |
tree | 165c15651fe7e2be5bf5ed174732811b1835d75b /dev-libs/dietlibc | |
parent | Added ~ppc64; bug #109375 (diff) | |
download | historical-30cda182d6494c635ccfe4e63431b803ca78f200.tar.gz historical-30cda182d6494c635ccfe4e63431b803ca78f200.tar.bz2 historical-30cda182d6494c635ccfe4e63431b803ca78f200.zip |
fix ppc rename patch
Package-Manager: portage-2.1_pre10-r2
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.30_pre20060501-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.30_pre20060501-r1 | 6 |
3 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index 076bfd6bd090..2af55114d2ab 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/dietlibc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.56 2006/05/02 09:46:48 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.57 2006/05/03 06:04:10 hollow Exp $ + +*dietlibc-0.30_pre20060501-r1 (03 May 2006) + + 03 May 2006; Benedikt Böhm <hollow@gentoo.org> + -dietlibc-0.30_pre20060501.ebuild, +dietlibc-0.30_pre20060501-r1.ebuild: + fix ppc rename patch *dietlibc-0.30_pre20060501 (02 May 2006) diff --git a/dev-libs/dietlibc/dietlibc-0.30_pre20060501-r1.ebuild b/dev-libs/dietlibc/dietlibc-0.30_pre20060501-r1.ebuild new file mode 100644 index 000000000000..e17ae65a55f8 --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.30_pre20060501-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.30_pre20060501-r1.ebuild,v 1.1 2006/05/03 06:04:10 hollow Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="A minimal libc" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~phreak/distfiles/${P}-patches-${PR}.tar.bz2 + http://dev.gentoo.org/~hollow/distfiles/${P}-patches-${PR}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DEPEND="" + +pkg_setup() { + # 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 +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/patches/*.patch +} + +src_compile() { + local my_cflags="${CFLAGS} -fno-pie" + use debug && my_cflags="${my_cflags} -g" + make CFLAGS="${my_cflags}" || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dobin "${D}"/usr/diet/bin/* || die "dobin failed" + doman "${D}"/usr/diet/man/*/* || die "doman failed" + rm -r "${D}"/usr/diet/{man,bin} + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.30_pre20060501-r1 b/dev-libs/dietlibc/files/digest-dietlibc-0.30_pre20060501-r1 new file mode 100644 index 000000000000..bbc993e21551 --- /dev/null +++ b/dev-libs/dietlibc/files/digest-dietlibc-0.30_pre20060501-r1 @@ -0,0 +1,6 @@ +MD5 dea0a25cc7165ae2ba4ea095c9ce1af5 dietlibc-0.30_pre20060501-patches-r1.tar.bz2 13529 +RMD160 e306918c7e38c51d5e4c77b76c708f07a30ce97c dietlibc-0.30_pre20060501-patches-r1.tar.bz2 13529 +SHA256 4b74c6865eb604b3ae04d7c270f582cd45999d77c423b10a2a2d5fb075e7ac62 dietlibc-0.30_pre20060501-patches-r1.tar.bz2 13529 +MD5 9115f9d685b3539cd4aa6228aaecada1 dietlibc-0.30_pre20060501.tar.bz2 570665 +RMD160 853d4b5120f6bc55d029cbdb5ea114b6d41ec466 dietlibc-0.30_pre20060501.tar.bz2 570665 +SHA256 3eac8412d6efeba3686b7d8767ebe3e2aa8f945aeaa871a98fc4da661c51066a dietlibc-0.30_pre20060501.tar.bz2 570665 |