diff options
author | 2009-08-10 06:29:25 +0000 | |
---|---|---|
committer | 2009-08-10 06:29:25 +0000 | |
commit | dcca8b7c2e679b1c65d138d7f7d79b0951aecc3e (patch) | |
tree | 619de94e4721cd7e51a43e9b90ed6f34a5bcba6b /dev-libs | |
parent | Unmasked ulogd, since security patch has now been applied (bug #225363) (diff) | |
download | gentoo-2-dcca8b7c2e679b1c65d138d7f7d79b0951aecc3e.tar.gz gentoo-2-dcca8b7c2e679b1c65d138d7f7d79b0951aecc3e.tar.bz2 gentoo-2-dcca8b7c2e679b1c65d138d7f7d79b0951aecc3e.zip |
Version bump.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.32.ebuild | 45 |
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index 7a706e62413c..4a0253095fa5 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/dietlibc -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.77 2008/11/16 14:13:41 hollow Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.78 2009/08/10 06:29:25 ssuominen Exp $ + +*dietlibc-0.32 (10 Aug 2009) + + 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> +dietlibc-0.32.ebuild: + Version bump. *dietlibc-0.32_pre20081116 (16 Nov 2008) diff --git a/dev-libs/dietlibc/dietlibc-0.32.ebuild b/dev-libs/dietlibc/dietlibc-0.32.ebuild new file mode 100644 index 000000000000..6d5bc350f15e --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.32.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.32.ebuild,v 1.1 2009/08/10 06:29:25 ssuominen Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="A minimal libc" +HOMEPAGE="http://www.fefe.de/dietlibc/" +SRC_URI="mirror://kernel/linux/libs/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DIETHOME=/usr/diet + +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 + + # debug flags + use debug && append-flags -g + + # Makefile does not append CFLAGS + append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ + -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ + -Wno-unused -Wredundant-decls +} + +src_compile() { + emake prefix=${DIETHOME} CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" -j1 || die "emake failed" +} + +src_install() { + emake prefix=${DIETHOME} DESTDIR="${D}" -j1 install || die "emake install failed" + dobin "${D}"${DIETHOME}/bin/* || die "dobin failed" + doman "${D}"${DIETHOME}/man/*/* || die "doman failed" + rm -r "${D}"${DIETHOME}/{man,bin} + dodoc AUTHOR BUGS CAVEAT FAQ CHANGES PORTING README* SECURITY THANKS TODO +} |