summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-08-07 20:43:24 +0000
committerNed Ludd <solar@gentoo.org>2004-08-07 20:43:24 +0000
commit3c0652c0c166556c229e8ff2c2b7468ad5dc9c97 (patch)
tree7f7582722d51b283c697221847e8ab62a0fc97de /net-wireless
parentMoving back to testing on amd64 - security had a change of heart (Manifest re... (diff)
downloadgentoo-2-3c0652c0c166556c229e8ff2c2b7468ad5dc9c97.tar.gz
gentoo-2-3c0652c0c166556c229e8ff2c2b7468ad5dc9c97.tar.bz2
gentoo-2-3c0652c0c166556c229e8ff2c2b7468ad5dc9c97.zip
digest updates. And added framework to keep cross compiler installed after initial build
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/openwrt-cvs/ChangeLog6
-rw-r--r--net-wireless/openwrt-cvs/Manifest4
-rw-r--r--net-wireless/openwrt-cvs/files/digest-openwrt-cvs-200407052
-rw-r--r--net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild43
4 files changed, 49 insertions, 6 deletions
diff --git a/net-wireless/openwrt-cvs/ChangeLog b/net-wireless/openwrt-cvs/ChangeLog
index 6e6cf23d6cd8..b5b194efa195 100644
--- a/net-wireless/openwrt-cvs/ChangeLog
+++ b/net-wireless/openwrt-cvs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/openwrt-cvs
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/openwrt-cvs/ChangeLog,v 1.1 2004/08/04 06:56:16 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/openwrt-cvs/ChangeLog,v 1.2 2004/08/07 20:43:24 solar Exp $
+
+ 07 Aug 2004; <solar@gentoo.org> openwrt-cvs-20040705.ebuild:
+ digest updates. And added framework to keep cross compiler installed after
+ initial build
*openwrt-cvs-20040705 (04 Aug 2004)
diff --git a/net-wireless/openwrt-cvs/Manifest b/net-wireless/openwrt-cvs/Manifest
index 5a87229fd77f..b3be2047eb8d 100644
--- a/net-wireless/openwrt-cvs/Manifest
+++ b/net-wireless/openwrt-cvs/Manifest
@@ -1,4 +1,4 @@
-MD5 65f05c283c5c2851fff6b4b1af370072 openwrt-cvs-20040705.ebuild 2265
+MD5 9583ab22a43d9d3760cf6d26d1c4e9a3 openwrt-cvs-20040705.ebuild 3927
MD5 149e445fb2acb7f0c6b553ef2c48601a ChangeLog 421
MD5 662e06b350ea518437aeb6ca39f7bcc5 metadata.xml 694
-MD5 88851500657e87ffb4996368e09cc2e9 files/digest-openwrt-cvs-20040705 272
+MD5 42f03de475e7e71e0a18e5dd2283a21f files/digest-openwrt-cvs-20040705 274
diff --git a/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040705 b/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040705
index 9acec11a8759..e27d2cb3a490 100644
--- a/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040705
+++ b/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040705
@@ -1,4 +1,4 @@
MD5 3c6cfd9fcd180481063b4058cf6faff2 gcc-3.3.3.tar.bz2 23279245
MD5 b5b1608f7308c487c0f3af8e4592a71a binutils-2.14.90.0.7.tar.bz2 10575077
MD5 db3610bcf748ade2ccb98fb4bab3bbc4 uClibc-20040705.tar.bz2 1663388
-MD5 a1b13c7a818ed69b01995286ad73df56 wrt54gs.2.07.1.tgz 2601367
+MD5 6a3a077befdac89871e024bb9fd5249f wrt54gs.2.07.1.tgz 155055379
diff --git a/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild b/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild
index 43d2f655391d..410eeab87e2d 100644
--- a/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild
+++ b/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild,v 1.1 2004/08/04 06:56:16 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/openwrt-cvs/openwrt-cvs-20040705.ebuild,v 1.2 2004/08/07 20:43:24 solar Exp $
ECVS_SERVER="openwrt.ksilebo.net:/openwrt"
ECVS_PASS="anonymous"
@@ -23,7 +23,8 @@ BINUTILS_VERSION=2.14.90.0.7
SRC_URI="mirror://gnu/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2
mirror://gentoo/binutils-${BINUTILS_VERSION}.tar.bz2
http://www.uclibc.org/downloads/snapshots/uClibc-${SNAPSHOT}.tar.bz2
- http://www.linksys.com/support/opensourcecode/wrt54gs/${LINKSYS_REVISION}/wrt54gs.${LINKSYS_REVISION}.tgz"
+ mirror://gentoo/wrt54gs.${LINKSYS_REVISION}.tgz"
+# http://www.linksys.com/support/opensourcecode/wrt54gs/${LINKSYS_REVISION}/wrt54gs.${LINKSYS_REVISION}.tgz"
LICENSE="GPL-2"
SLOT="0"
@@ -73,6 +74,44 @@ src_install() {
cp openwrt-{g{,s}-code.bin,linux.trx,kmodules.tar.gz} \
${D}/usr/share/${PN}/$(date -u +%Y%m%d)/
dodoc *README*
+
+ return 0
+
+ # install the mipsel cross-compiler for later use.
+ local TARGET_ARCH=mipsel
+ [ -e "${ROOT}/usr/${TARGET_ARCH}-linux-uclibc" ] && return 0
+
+ dodir /usr/lib/gcc-lib/
+ cp -a ${S}/build_${TARGET_ARCH}/staging_dir/lib/gcc-lib/${TARGET_ARCH}-linux-uclibc ${D}/usr/lib/gcc-lib/
+
+ dodir /usr/${TARGET_ARCH}-linux-uclibc/gcc-bin/
+ cp -a ${S}/build_${TARGET_ARCH}/staging_dir/bin/* ${D}/usr/${TARGET_ARCH}-linux-uclibc/gcc-bin/${GCC_VERSION:0:3}/
+
+ cd ${D}/usr/${TARGET_ARCH}-linux-uclibc/gcc-bin/${GCC_VERSION:0:3}/
+ for f in gcc g++ c++ ; do ln -s ${TARGET_ARCH}-linux-uclibc-$f $f ; done
+
+ dodir /usr/${TARGET_ARCH}-linux-uclibc/bin/
+ cd ${D}/usr/${TARGET_ARCH}-linux-uclibc/bin/
+ for f in addr2line ar as c++filt gprof ld nm objcopy objdump \
+ ranlib readelf size strings strip; do
+ ln -s ../gcc-bin/3.3/${TARGET_ARCH}-linux-uclibc-$f $f
+ done
+
+ dodir /etc/env.d/${TARGET_ARCH}-linux-uclibc-${GCC_VERSION}
+ cat <<__EOF__>> ${D}/etc/env.d/mipsel-linux-uclibc-${GCC_VERSION}
+CROSS_ARCH=${TARGET_ARCH}
+CROSS_LIBC=uclibc
+CBUILD=\${CROSS_ARCH}-linux-\${CROSS_LIBC}
+CROSS_PREFIX=\${CROSS_TARGET}-
+PATH="/usr/\${CROSS_ARCH}-linux-\${CROSS_LIBC}/gcc-bin/${GCC_VERSION:0:3}"
+ROOTPATH="/usr/\${CROSS_ARCH}-linux-\${CROSS_LIBC}/gcc-bin/${GCC_VERSION:0:3}"
+LDPATH="/usr/lib/gcc-lib/\${CROSS_ARCH}-linux-\${CROSS_LIBC}/${GCC_VERSION}"
+MANPATH="/usr/share/gcc-data/\${CROSS_ARCH}-linux-\${CROSS_LIBC}/${GCC_VERSION:0:3}/man"
+INFOPATH="/usr/share/gcc-data/\${CROSS_ARCH}-linux-\${CROSS_LIBC}/${GCC_VERSION:0:3}/info"
+STDCXX_INCDIR="g++-v${GCC_VERSION:0:1}"
+CC="\${CROSS_PREFIX}gcc"
+CXX="\${CROSS_PREFIX}g++"
+__EOF__
}
pkg_postinst() {