# 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.58 2006/06/21 19:55:34 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.59 2006/06/22 07:57:16 hollow Exp $
+
+*dietlibc-0.30 (22 Jun 2006)
+
+ 22 Jun 2006; Benedikt Böhm <hollow@gentoo.org>
+ -dietlibc-0.30_pre20060501-r1.ebuild, -dietlibc-0.30_pre20060621.ebuild,
+ +dietlibc-0.30.ebuild:
+ version bump
*dietlibc-0.30_pre20060621 (21 Jun 2006)
--- /dev/null
+# 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.ebuild,v 1.1 2006/06/22 07:57:16 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
+}
--- /dev/null
+MD5 bfe193d03409f36f12129339ec9b0f45 dietlibc-0.30-patches-r0.tar.bz2 13466
+RMD160 aef639595e93bd319744901aa87ae15d331709f2 dietlibc-0.30-patches-r0.tar.bz2 13466
+SHA256 bdc14a428b53dcd57bbce2337198e43473964624021d5a4918c5147753e75251 dietlibc-0.30-patches-r0.tar.bz2 13466
+MD5 2465d652fff6f1fad3da3b98e60e83c9 dietlibc-0.30.tar.bz2 567046
+RMD160 98d4e20e106f60835ed4a22d3013d9a34957f18a dietlibc-0.30.tar.bz2 567046
+SHA256 2c8733825d364d374f0179a403a57e4a382fbb9852431228ef19062a5de183b5 dietlibc-0.30.tar.bz2 567046