Remove stale ebuilds.
authorMartin Schlemmer <azarah@gentoo.org>
Fri, 2 Sep 2005 14:45:05 +0000 (14:45 +0000)
committerMartin Schlemmer <azarah@gentoo.org>
Fri, 2 Sep 2005 14:45:05 +0000 (14:45 +0000)
Package-Manager: portage-2.0.51.22-r2

dev-libs/klibc/Manifest
dev-libs/klibc/files/digest-klibc-1.0 [deleted file]
dev-libs/klibc/files/digest-klibc-1.0.14 [deleted file]
dev-libs/klibc/files/digest-klibc-1.0.3 [deleted file]
dev-libs/klibc/files/digest-klibc-1.0.8 [deleted file]
dev-libs/klibc/files/klibc-1.0-makeklcc-empty-args.patch [deleted file]
dev-libs/klibc/klibc-1.0.14.ebuild [deleted file]
dev-libs/klibc/klibc-1.0.3.ebuild [deleted file]
dev-libs/klibc/klibc-1.0.8.ebuild [deleted file]
dev-libs/klibc/klibc-1.0.ebuild [deleted file]

index 8be2e712b869c6c0e08e9c207cda9550cdfda0be..b668a94d66b1ed2878b974f11bd3b4829da40695 100644 (file)
@@ -3,25 +3,16 @@ Hash: SHA1
 
 MD5 ad721da9333849a83749d535f58388f3 klibc-1.1.ebuild 4024
 MD5 87eac36868c96b295f5b4b631a505db9 klibc-1.0.14-r1.ebuild 4123
-MD5 300321e4e9125b68cfc58017ec3949fd klibc-1.0.ebuild 3289
-MD5 e054f1020f728f17ff8cf5fc3cef0ed3 klibc-1.0.3.ebuild 3939
 MD5 d7718105e4e255372e421c6afa93b212 ChangeLog 1933
-MD5 4c2d18245f1ab6071c105bbf744d5d99 klibc-1.0.8.ebuild 4021
-MD5 f4103f6246c6515409cd5e5d2ac21d6e klibc-1.0.14.ebuild 4026
 MD5 b612d343db3c54560665171eb7db245c metadata.xml 223
-MD5 d839dab2895dd0e607d19436928be939 files/digest-klibc-1.0.8 64
-MD5 626ed5b2981bf97e3b37743bb3b4cc08 files/digest-klibc-1.0.3 64
-MD5 e70edb40913b7ad07638a7202f773b6f files/klibc-1.0-makeklcc-empty-args.patch 807
 MD5 790a9f0a9a74e6eac6c6c1dbde2a94b6 files/klibc.m4 3619
 MD5 4b098438d57b0f7ad9f16d534fb98eb4 files/klibc-1.0.14-nostdlib.patch 460
 MD5 5f74818fe6743d6f26cd199480a6d4ea files/digest-klibc-1.0.14-r1 65
 MD5 9f7934fa62dac32c7a1f7fb7f3c1eff6 files/digest-klibc-1.1 62
-MD5 d995810231e49d3aee9101cebc8a6a17 files/digest-klibc-1.0 62
-MD5 5f74818fe6743d6f26cd199480a6d4ea files/digest-klibc-1.0.14 65
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDGGQx1ZcsMnZjRyIRAlFLAJ4wwiCISXmAOQVjWLezySsJdKon4QCfW5n3
-/0wEuQjbnLXKZ4AO1WjLYso=
-=fUvy
+iD8DBQFDGGWh1ZcsMnZjRyIRAqECAJ9SaUMYfhg3jyB8hrs0f9yJWjM8AQCfc1nu
+Hu/fGkcizKDhfMsHRHYHLw0=
+=0HuF
 -----END PGP SIGNATURE-----
diff --git a/dev-libs/klibc/files/digest-klibc-1.0 b/dev-libs/klibc/files/digest-klibc-1.0
deleted file mode 100644 (file)
index 770a4cc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 daaa233fb7905cbe110896fcad9bec7f klibc-1.0.tar.bz2 435794
diff --git a/dev-libs/klibc/files/digest-klibc-1.0.14 b/dev-libs/klibc/files/digest-klibc-1.0.14
deleted file mode 100644 (file)
index cb0361a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 882492395506ffb5f4cdbfca11eeb3d6 klibc-1.0.14.tar.bz2 443250
diff --git a/dev-libs/klibc/files/digest-klibc-1.0.3 b/dev-libs/klibc/files/digest-klibc-1.0.3
deleted file mode 100644 (file)
index ee74bc9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 265e17880d86471c7881b98747d3d62c klibc-1.0.3.tar.bz2 436398
diff --git a/dev-libs/klibc/files/digest-klibc-1.0.8 b/dev-libs/klibc/files/digest-klibc-1.0.8
deleted file mode 100644 (file)
index d92870d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 06daaff20aa7d9cc888393e969624907 klibc-1.0.8.tar.bz2 446138
diff --git a/dev-libs/klibc/files/klibc-1.0-makeklcc-empty-args.patch b/dev-libs/klibc/files/klibc-1.0-makeklcc-empty-args.patch
deleted file mode 100644 (file)
index e86ae61..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-If say LDFLAGS = "", then '' gets passed as arg to ld which borks
-
---- 1/makeklcc.pl      2005-03-10 00:22:03.000000000 +0200
-+++ 2/makeklcc.pl      2005-03-10 01:26:51.000000000 +0200
-@@ -7,24 +7,14 @@
- 
- ($klccin, $klibcconf, $perlpath) = @ARGV;
- 
--# This should probably handle quotes and escapes...
--sub string2list($)
--{
--    my($s) = @_;
--
--    $s =~ s/\s+/\',\'/g;
--    return "(\'".$s."\')";
--}
--
- print "#!${perlpath}\n";
- 
- open(KLIBCCONF, '<', $klibcconf) or die "$0: cannot open $klibcconf: $!\n";
- while ( defined($l = <KLIBCCONF>) ) {
--    chomp $l;
--    if ( $l =~ /^([^=]+)\=(.*)$/ ) {
-+    if ( $l =~ /^([^=]+)=(.*)$/ ) {
-       $n = $1;  $s = $2;
-       print "\$$n = \"\Q$s\E\";\n";
--      print "\@$n = ", string2list($s), ";\n";
-+      print "\@$n = qw( $s );\n";
-       print "\$conf{\'\L$n\E\'} = \\\$$n;\n";
-     }
- }
diff --git a/dev-libs/klibc/klibc-1.0.14.ebuild b/dev-libs/klibc/klibc-1.0.14.ebuild
deleted file mode 100644 (file)
index a532eb7..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.0.14.ebuild,v 1.2 2005/06/29 07:08:47 dholm Exp $
-
-inherit eutils linux-mod
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-       if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
-               export CTARGET=${CATEGORY/cross-}
-       fi
-fi
-
-DESCRIPTION="A minimal libc subset for use with initramfs."
-HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc"
-SRC_URI="ftp://ftp.kernel.org/pub/linux/libs/klibc/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Testing/${P}.tar.bz2"
-LICENSE="|| ( GPL-2 LGPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-RESTRICT="nostrip"
-
-DEPEND="dev-lang/perl
-       virtual/linux-sources"
-RDEPEND="dev-lang/perl"
-
-if [[ ${CTARGET} != ${CHOST} ]] ; then
-       SLOT="${CTARGET}"
-else
-       SLOT="0"
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-guess_arch() {
-       local x
-       local host=$(echo "${CTARGET%%-*}" | sed -e 's/i.86/i386/' \
-                                                -e 's/sun4u/sparc64/' \
-                                                -e 's/arm.*/arm/' \
-                                                -e 's/sa110/arm/' \
-                                                -e 's/powerpc/ppc/')
-
-       # Sort reverse so that we will get ppc64 before ppc, etc
-       for x in $(ls -1 "${S}/include/arch/" | sort -r) ; do
-               if [[ ${host} == "${x}" ]] ; then
-                       echo "${x}"
-                       return 0
-               fi
-       done
-
-       return 1
-}
-
-pkg_setup() {
-       # Make sure kernel sources are OK
-       # (Override for linux-mod eclass)
-       check_kernel_built
-}
-
-src_unpack() {
-       unpack ${A}
-
-       if [[ ! -d /usr/${CTARGET} ]] ; then
-               echo
-               eerror "It does not look like your cross-compiler is setup properly!"
-               die "It does not look like your cross-compiler is setup properly!"
-       fi
-
-       if ! guess_arch &>/dev/null ; then
-               echo
-               eerror "Could not guess klibc's ARCH from your CTARGET!"
-               die "Could not guess klibc's ARCH from your CTARGET!"
-       fi
-
-       kernel_arch=$(readlink "${KV_OUT_DIR}/include/asm" | sed -e 's:asm-::')
-       if [[ ${kernel_arch} != $(guess_arch) ]] ; then
-               echo
-               eerror "Your kernel sources are not configured for your chosen arch!"
-               eerror "(KERNEL_ARCH=\"${kernel_arch}\", ARCH=\"$(guess_arch)\")"
-               die "Your kernel sources are not configured for your chosen arch!"
-       fi
-
-       cd ${S}
-
-       # Add our linux source tree symlink
-       ln -snf ${KV_DIR} linux
-
-       # set the build directory
-       echo "KRNLOBJ = ${KV_OUT_DIR}" >> MCONFIG
-
-       # We do not want all the nice prelink warnings
-       # NOTE: for amd64, we might change below to '/usr/$(get_libdir)/klibc',
-       #       but I do not do it right now, as the build system do not support
-       #       the lib64 yet ....
-       cat > "${S}/70klibc" <<-EOF
-               PRELINK_PATH_MASK="/usr/lib/klibc"
-       EOF
-}
-
-src_compile() {
-       if is_cross ; then
-               einfo "ARCH = \"$(guess_arch)\""
-               einfo "CROSS = \"${CTARGET}-\""
-               emake ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" || die "Compile failed!"
-       else
-               env -u ARCH \
-               emake || die "Compile failed!"
-       fi
-}
-
-src_install() {
-       local klibc_prefix
-
-       if is_cross ; then
-               make INSTALLROOT=${D} \
-                       ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" \
-                       install || die "Install failed!"
-
-               klibc_prefix=$("${S}/${CTARGET}-klcc" -print-klibc-bindir)
-       else
-               env -u ARCH \
-               make INSTALLROOT=${D} install || die "Install failed!"
-
-               klibc_prefix=$("${S}/klcc" -print-klibc-bindir)
-       fi
-
-       # Hardlinks becoming copies
-       dosym gzip "${klibc_prefix}/gunzip"
-       dosym gzip "${klibc_prefix}/zcat"
-
-       if ! is_cross ; then
-               insinto /usr/share/aclocal
-               doins ${FILESDIR}/klibc.m4
-
-               doenvd ${S}/70klibc
-
-               dodoc ${S}/README ${S}/klibc/{LICENSE,CAVEATS}
-               newdoc ${S}/klibc/README README.klibc
-               newdoc ${S}/klibc/arch/README README.klibc.arch
-               docinto ash; newdoc ${S}/ash/README.klibc README
-               docinto gzip; dodoc ${S}/gzip/{COPYING,README}
-               docinto ipconfig; dodoc ${S}/ipconfig/README
-               docinto kinit; dodoc ${S}/kinit/README
-       fi
-}
-
-pkg_postinst() {
-       # Override for linux-mod eclass
-       return 0
-}
diff --git a/dev-libs/klibc/klibc-1.0.3.ebuild b/dev-libs/klibc/klibc-1.0.3.ebuild
deleted file mode 100644 (file)
index b19127f..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.0.3.ebuild,v 1.3 2005/03/13 10:45:05 azarah Exp $
-
-inherit eutils linux-mod
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-       if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
-               export CTARGET=${CATEGORY/cross-}
-       fi
-fi
-
-DESCRIPTION="A minimal libc subset for use with initramfs."
-HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc"
-SRC_URI="ftp://ftp.kernel.org/pub/linux/libs/klibc/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Testing/${P}.tar.bz2"
-LICENSE="|| ( GPL-2 LGPL-2 )"
-KEYWORDS="~x86"
-IUSE=""
-RESTRICT="nostrip"
-
-DEPEND="dev-lang/perl
-       virtual/linux-sources"
-RDEPEND="dev-lang/perl"
-
-if [[ ${CTARGET} != ${CHOST} ]] ; then
-       SLOT="${CTARGET}"
-else
-       SLOT="0"
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-guess_arch() {
-       local x
-       local host=$(echo "${CTARGET%%-*}" | sed -e 's/i.86/i386/' \
-                                                -e 's/sun4u/sparc64/' \
-                                                -e 's/arm.*/arm/' \
-                                                -e 's/sa110/arm/' \
-                                                -e 's/powerpc/ppc/')
-
-       # Sort reverse so that we will get ppc64 before ppc, etc
-       for x in $(ls -1 "${S}/include/arch/" | sort -r) ; do
-               if [[ ${host} == "${x}" ]] ; then
-                       echo "${x}"
-                       return 0
-               fi
-       done
-
-       return 1
-}
-
-pkg_setup() {
-       # Make sure kernel sources are OK
-       # (Override for linux-mod eclass)
-       check_kernel_built
-}
-
-src_unpack() {
-       unpack ${A}
-
-       if [[ ! -d /usr/${CTARGET} ]] ; then
-               echo
-               eerror "It does not look like your cross-compiler is setup properly!"
-               die "It does not look like your cross-compiler is setup properly!"
-       fi
-
-       if ! guess_arch &>/dev/null ; then
-               echo
-               eerror "Could not guess klibc's ARCH from your CTARGET!"
-               die "Could not guess klibc's ARCH from your CTARGET!"
-       fi
-
-       kernel_arch=$(readlink "${KV_DIR}/include/asm" | sed -e 's:asm-::')
-       if [[ ${kernel_arch} != $(guess_arch) ]] ; then
-               echo
-               eerror "Your kernel sources are not configured for your chosen arch!"
-               eerror "(KERNEL_ARCH=\"${kernel_arch}\", ARCH=\"$(guess_arch)\")"
-               die "Your kernel sources are not configured for your chosen arch!"
-       fi
-
-       cd ${S}
-
-       # Add our linux source tree symlink
-       ln -snf ${KV_DIR} linux
-
-       # We do not want all the nice prelink warnings
-       # NOTE: for amd64, we might change below to '/usr/$(get_libdir)/klibc',
-       #       but I do not do it right now, as the build system do not support
-       #       the lib64 yet ....
-       cat > "${S}/70klibc" <<-EOF
-               PRELINK_PATH_MASK="/usr/lib/klibc"
-       EOF
-}
-
-src_compile() {
-       if is_cross ; then
-               einfo "ARCH = \"$(guess_arch)\""
-               einfo "CROSS = \"${CTARGET}-\""
-               emake ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" || die "Compile failed!"
-       else
-               env -u ARCH \
-               emake || die "Compile failed!"
-       fi
-}
-
-src_install() {
-       local klibc_prefix
-
-       if is_cross ; then
-               make INSTALLROOT=${D} \
-                       ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" \
-                       install || die "Install failed!"
-
-               klibc_prefix=$("${S}/${CTARGET}-klcc" -print-klibc-bindir)
-       else
-               env -u ARCH \
-               make INSTALLROOT=${D} install || die "Install failed!"
-
-               klibc_prefix=$("${S}/klcc" -print-klibc-bindir)
-       fi
-
-       # Hardlinks becoming copies
-       dosym gzip "${klibc_prefix}/gunzip"
-       dosym gzip "${klibc_prefix}/zcat"
-
-       if ! is_cross ; then
-               insinto /usr/share/aclocal
-               doins ${FILESDIR}/klibc.m4
-
-               doenvd ${S}/70klibc
-
-               dodoc ${S}/README ${S}/klibc/{LICENSE,CAVEATS}
-               newdoc ${S}/klibc/README README.klibc
-               newdoc ${S}/klibc/arch/README README.klibc.arch
-               docinto ash; newdoc ${S}/ash/README.klibc README
-               docinto gzip; dodoc ${S}/gzip/{COPYING,README}
-               docinto ipconfig; dodoc ${S}/ipconfig/README
-               docinto kinit; dodoc ${S}/kinit/README
-       fi
-}
-
-pkg_postinst() {
-       # Override for linux-mod eclass
-       return 0
-}
diff --git a/dev-libs/klibc/klibc-1.0.8.ebuild b/dev-libs/klibc/klibc-1.0.8.ebuild
deleted file mode 100644 (file)
index 3b6203d..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.0.8.ebuild,v 1.1 2005/05/04 09:28:27 azarah Exp $
-
-inherit eutils linux-mod
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-       if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
-               export CTARGET=${CATEGORY/cross-}
-       fi
-fi
-
-DESCRIPTION="A minimal libc subset for use with initramfs."
-HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc"
-SRC_URI="ftp://ftp.kernel.org/pub/linux/libs/klibc/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Testing/${P}.tar.bz2"
-LICENSE="|| ( GPL-2 LGPL-2 )"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-RESTRICT="nostrip"
-
-DEPEND="dev-lang/perl
-       virtual/linux-sources"
-RDEPEND="dev-lang/perl"
-
-if [[ ${CTARGET} != ${CHOST} ]] ; then
-       SLOT="${CTARGET}"
-else
-       SLOT="0"
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-guess_arch() {
-       local x
-       local host=$(echo "${CTARGET%%-*}" | sed -e 's/i.86/i386/' \
-                                                -e 's/sun4u/sparc64/' \
-                                                -e 's/arm.*/arm/' \
-                                                -e 's/sa110/arm/' \
-                                                -e 's/powerpc/ppc/')
-
-       # Sort reverse so that we will get ppc64 before ppc, etc
-       for x in $(ls -1 "${S}/include/arch/" | sort -r) ; do
-               if [[ ${host} == "${x}" ]] ; then
-                       echo "${x}"
-                       return 0
-               fi
-       done
-
-       return 1
-}
-
-pkg_setup() {
-       # Make sure kernel sources are OK
-       # (Override for linux-mod eclass)
-       check_kernel_built
-}
-
-src_unpack() {
-       unpack ${A}
-
-       if [[ ! -d /usr/${CTARGET} ]] ; then
-               echo
-               eerror "It does not look like your cross-compiler is setup properly!"
-               die "It does not look like your cross-compiler is setup properly!"
-       fi
-
-       if ! guess_arch &>/dev/null ; then
-               echo
-               eerror "Could not guess klibc's ARCH from your CTARGET!"
-               die "Could not guess klibc's ARCH from your CTARGET!"
-       fi
-
-       kernel_arch=$(readlink "${KV_OUT_DIR}/include/asm" | sed -e 's:asm-::')
-       if [[ ${kernel_arch} != $(guess_arch) ]] ; then
-               echo
-               eerror "Your kernel sources are not configured for your chosen arch!"
-               eerror "(KERNEL_ARCH=\"${kernel_arch}\", ARCH=\"$(guess_arch)\")"
-               die "Your kernel sources are not configured for your chosen arch!"
-       fi
-
-       cd ${S}
-
-       # Add our linux source tree symlink
-       ln -snf ${KV_DIR} linux
-
-       # set the build directory
-       echo "KRNLOBJ = ${KV_OUT_DIR}" >> MCONFIG
-
-       # We do not want all the nice prelink warnings
-       # NOTE: for amd64, we might change below to '/usr/$(get_libdir)/klibc',
-       #       but I do not do it right now, as the build system do not support
-       #       the lib64 yet ....
-       cat > "${S}/70klibc" <<-EOF
-               PRELINK_PATH_MASK="/usr/lib/klibc"
-       EOF
-}
-
-src_compile() {
-       if is_cross ; then
-               einfo "ARCH = \"$(guess_arch)\""
-               einfo "CROSS = \"${CTARGET}-\""
-               emake ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" || die "Compile failed!"
-       else
-               env -u ARCH \
-               emake || die "Compile failed!"
-       fi
-}
-
-src_install() {
-       local klibc_prefix
-
-       if is_cross ; then
-               make INSTALLROOT=${D} \
-                       ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" \
-                       install || die "Install failed!"
-
-               klibc_prefix=$("${S}/${CTARGET}-klcc" -print-klibc-bindir)
-       else
-               env -u ARCH \
-               make INSTALLROOT=${D} install || die "Install failed!"
-
-               klibc_prefix=$("${S}/klcc" -print-klibc-bindir)
-       fi
-
-       # Hardlinks becoming copies
-       dosym gzip "${klibc_prefix}/gunzip"
-       dosym gzip "${klibc_prefix}/zcat"
-
-       if ! is_cross ; then
-               insinto /usr/share/aclocal
-               doins ${FILESDIR}/klibc.m4
-
-               doenvd ${S}/70klibc
-
-               dodoc ${S}/README ${S}/klibc/{LICENSE,CAVEATS}
-               newdoc ${S}/klibc/README README.klibc
-               newdoc ${S}/klibc/arch/README README.klibc.arch
-               docinto ash; newdoc ${S}/ash/README.klibc README
-               docinto gzip; dodoc ${S}/gzip/{COPYING,README}
-               docinto ipconfig; dodoc ${S}/ipconfig/README
-               docinto kinit; dodoc ${S}/kinit/README
-       fi
-}
-
-pkg_postinst() {
-       # Override for linux-mod eclass
-       return 0
-}
diff --git a/dev-libs/klibc/klibc-1.0.ebuild b/dev-libs/klibc/klibc-1.0.ebuild
deleted file mode 100644 (file)
index 87af33b..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.0.ebuild,v 1.2 2005/03/09 23:55:54 azarah Exp $
-
-inherit eutils linux-mod
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} ]] ; then
-       if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
-               export CTARGET=${CATEGORY/cross-}
-       fi
-fi
-
-DESCRIPTION="A minimal libc subset for use with initramfs."
-HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc"
-SRC_URI="ftp://ftp.kernel.org/pub/linux/libs/klibc/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/${P}.tar.bz2
-       ftp://ftp.kernel.org/pub/linux/libs/klibc/Testing/${P}.tar.bz2"
-LICENSE="|| ( GPL-2 LGPL-2 )"
-KEYWORDS="~x86"
-IUSE=""
-RESTRICT="nostrip"
-
-DEPEND="virtual/linux-sources"
-
-if [[ ${CTARGET} != ${CHOST} ]] ; then
-       SLOT="${CTARGET}"
-else
-       SLOT="0"
-fi
-
-is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-
-guess_arch() {
-       local x
-       local host=$(echo "${CTARGET%%-*}" | sed -e 's/i.86/i386/' \
-                                                -e 's/sun4u/sparc64/' \
-                                                -e 's/arm.*/arm/' \
-                                                -e 's/sa110/arm/' \
-                                                -e 's/powerpc/ppc/')
-
-       # Sort reverse so that we will get ppc64 before ppc, etc
-       for x in $(ls -1 "${S}/include/arch/" | sort -r) ; do
-               if [[ ${host} == "${x}" ]] ; then
-                       echo "${x}"
-                       return 0
-               fi
-       done
-
-       return 1
-}
-
-
-src_unpack() {
-       unpack ${A}
-
-       if [[ ! -d /usr/${CTARGET} ]] ; then
-               echo
-               eerror "It does not look like your cross-compiler is setup properly!"
-               die "It does not look like your cross-compiler is setup properly!"
-       fi
-
-       if ! guess_arch &>/dev/null ; then
-               echo
-               eerror "Could not guess klibc's ARCH from your CTARGET!"
-               die "Could not guess klibc's ARCH from your CTARGET!"
-       fi
-
-       # Make sure kernel sources are ok
-       check_kernel_built
-
-       kernel_arch=$(readlink "${KV_DIR}/include/asm" | sed -e 's:asm-::')
-       if [[ ${kernel_arch} != $(guess_arch) ]] ; then
-               echo
-               eerror "Your kernel sources are not configured for your chosen arch!"
-               eerror "(KERNEL_ARCH=\"${kernel_arch}\", ARCH=\"$(guess_arch)\")"
-               die "Your kernel sources are not configured for your chosen arch!"
-       fi
-
-       cd ${S}
-
-       # If say LDFLAGS = "", then '' gets passed as arg to ld which borks
-       epatch ${FILESDIR}/${P}-makeklcc-empty-args.patch
-
-       ln -snf ${KV_DIR} linux
-}
-
-src_compile() {
-       if is_cross ; then
-               einfo "ARCH = \"$(guess_arch)\""
-               einfo "CROSS = \"${CTARGET}-\""
-               emake ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" || die "Compile failed!"
-       else
-               env -u ARCH \
-               emake || die "Compile failed!"
-       fi
-}
-
-src_install() {
-       if is_cross ; then
-               make INSTALLROOT=${D} \
-                       ARCH=$(guess_arch) \
-                       CROSS="${CTARGET}-" \
-                       install || die "Install failed!"
-       else
-               env -u ARCH \
-               make INSTALLROOT=${D} install || die "Install failed!"
-
-               insinto /usr/share/aclocal
-               doins ${FILESDIR}/klibc.m4
-
-               dodoc ${S}/README ${S}/klibc/{LICENSE,CAVEATS}
-               newdoc ${S}/klibc/README README.klibc
-               newdoc ${S}/klibc/arch/README README.klibc.arch
-               docinto ash; newdoc ${S}/ash/README.klibc README
-               docinto gzip; dodoc ${S}/gzip/{COPYING,README}
-               docinto ipconfig; dodoc ${S}/ipconfig/README
-               docinto kinit; dodoc ${S}/kinit/README
-       fi
-}