diff options
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.22.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/digest-dietlibc-0.22 | 1 |
3 files changed, 46 insertions, 1 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index 1a769cce8728..2e7b0fc5237f 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/dietlibc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.8 2003/02/12 06:02:44 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.9 2003/03/28 10:09:59 aliz Exp $ + +*dietlibc-0.22 (28 Mar 2003) + + 28 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> dietlibc-0.22.ebuild : + Security update. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/dev-libs/dietlibc/dietlibc-0.22.ebuild b/dev-libs/dietlibc/dietlibc-0.22.ebuild new file mode 100644 index 000000000000..b9545d49f05b --- /dev/null +++ b/dev-libs/dietlibc/dietlibc-0.22.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.22.ebuild,v 1.1 2003/03/28 10:09:59 aliz Exp $ + +DESCRIPTION="A minimal libc" +SRC_URI="http://www.kernel.org/pub/linux/libs/dietlibc/${P}.tar.bz2" +HOMEPAGE="http://www.fefe.de/dietlibc/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc" + +src_unpack() { + unpack ${A} ; cd ${S} + mv Makefile Makefile.orig + + sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \ + -e "s:^prefix.*:prefix=/usr/diet:" \ + -e "s:^#DESTDIR=/tmp/fef.*:DESTDIR=${D}:" \ + Makefile.orig > Makefile + # does not say anything about this in the install docs - uncommenting (Thilo) + #mkdir ${S}/include/asm + #cp /usr/include/asm/posix_types.h ${S}/include/asm +} + +src_compile() { + emake || die +} + +src_install() { + make install || die + + exeinto /usr/bin +# newexe bin-i386/diet-i diet + newexe bin-$(uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6][lb]/arm/')/diet-i diet + + doman diet.1 + dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING +} diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.22 b/dev-libs/dietlibc/files/digest-dietlibc-0.22 new file mode 100644 index 000000000000..d80396c5cefb --- /dev/null +++ b/dev-libs/dietlibc/files/digest-dietlibc-0.22 @@ -0,0 +1 @@ +MD5 877b12ab0b2bbff340095cf2cf074418 dietlibc-0.22.tar.bz2 454012 |