diff options
author | Ned Ludd <solar@gentoo.org> | 2004-08-15 05:14:02 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-08-15 05:14:02 +0000 |
commit | ccc2d41e6f39383b169f8c2326f8634faef46e79 (patch) | |
tree | 128f8c086929508cc6acc182c331a604bfacd001 /net-wireless/openwrt-cvs | |
parent | ver bump (Manifest recommit) (diff) | |
download | gentoo-2-ccc2d41e6f39383b169f8c2326f8634faef46e79.tar.gz gentoo-2-ccc2d41e6f39383b169f8c2326f8634faef46e79.tar.bz2 gentoo-2-ccc2d41e6f39383b169f8c2326f8634faef46e79.zip |
update SNAPSHOT
Diffstat (limited to 'net-wireless/openwrt-cvs')
-rw-r--r-- | net-wireless/openwrt-cvs/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/openwrt-cvs/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040807 | 4 | ||||
-rw-r--r-- | net-wireless/openwrt-cvs/openwrt-cvs-20040807.ebuild | 119 |
4 files changed, 131 insertions, 1 deletions
diff --git a/net-wireless/openwrt-cvs/ChangeLog b/net-wireless/openwrt-cvs/ChangeLog index b5b194efa195..ca888e8e5917 100644 --- a/net-wireless/openwrt-cvs/ChangeLog +++ b/net-wireless/openwrt-cvs/ChangeLog @@ -1,6 +1,11 @@ # 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.2 2004/08/07 20:43:24 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/openwrt-cvs/ChangeLog,v 1.3 2004/08/15 05:14:02 solar Exp $ + +*openwrt-cvs-20040807 (15 Aug 2004) + + 15 Aug 2004; <solar@gentoo.org> openwrt-cvs-20040807.ebuild: + update SNAPSHOT 07 Aug 2004; <solar@gentoo.org> openwrt-cvs-20040705.ebuild: digest updates. And added framework to keep cross compiler installed after diff --git a/net-wireless/openwrt-cvs/Manifest b/net-wireless/openwrt-cvs/Manifest index d511f6694e96..acbb565f1de5 100644 --- a/net-wireless/openwrt-cvs/Manifest +++ b/net-wireless/openwrt-cvs/Manifest @@ -1,4 +1,6 @@ MD5 741e75cc81345ee8d98dec94306f8e92 openwrt-cvs-20040705.ebuild 3927 +MD5 e5964a2ed5de0bfe6b40c26a803fb0c7 openwrt-cvs-20040807.ebuild 3896 MD5 03af2c6250abd6bfecb336c4eff8cc1d ChangeLog 578 MD5 662e06b350ea518437aeb6ca39f7bcc5 metadata.xml 694 MD5 42f03de475e7e71e0a18e5dd2283a21f files/digest-openwrt-cvs-20040705 274 +MD5 4ab406cee4b7dca99d1b2f589bc53f85 files/digest-openwrt-cvs-20040807 274 diff --git a/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040807 b/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040807 new file mode 100644 index 000000000000..44706502d890 --- /dev/null +++ b/net-wireless/openwrt-cvs/files/digest-openwrt-cvs-20040807 @@ -0,0 +1,4 @@ +MD5 3c6cfd9fcd180481063b4058cf6faff2 gcc-3.3.3.tar.bz2 23279245 +MD5 b5b1608f7308c487c0f3af8e4592a71a binutils-2.14.90.0.7.tar.bz2 10575077 +MD5 a64a43840837a3236298d60bc8c2feb1 uClibc-20040807.tar.bz2 1676660 +MD5 6a3a077befdac89871e024bb9fd5249f wrt54gs.2.07.1.tgz 155055379 diff --git a/net-wireless/openwrt-cvs/openwrt-cvs-20040807.ebuild b/net-wireless/openwrt-cvs/openwrt-cvs-20040807.ebuild new file mode 100644 index 000000000000..7c253b8cc6dc --- /dev/null +++ b/net-wireless/openwrt-cvs/openwrt-cvs-20040807.ebuild @@ -0,0 +1,119 @@ +# 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-20040807.ebuild,v 1.1 2004/08/15 05:14:02 solar Exp $ + +ECVS_SERVER="openwrt.ksilebo.net:/openwrt" +ECVS_PASS="anonymous" +ECVS_MODULE="buildroot" +ECVS_TOP_DIR="${DISTDIR}/cvs-src/${P}" + +inherit cvs + +LINKSYS_REVISION=2.07.1 + +DESCRIPTION="OpenWrt is a linux firmware distribution for the Linksys WRT54G." +HOMEPAGE="http://openwrt.ksilebo.net/" + +# These variables can override the OpenWrt defaults if they are +# exported, but for stablility we don't. +GCC_VERSION=3.3.3 +#SNAPSHOT=20040705 +SNAPSHOT=20040807 +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 + mirror://gentoo/wrt54gs.${LINKSYS_REVISION}.tgz" +# http://www.linksys.com/support/opensourcecode/wrt54gs/${LINKSYS_REVISION}/wrt54gs.${LINKSYS_REVISION}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=sys-apps/sed-4 + dev-util/patchutils + sys-devel/gcc + sys-devel/make + net-misc/wget + sys-apps/coreutils + sys-devel/gettext" + +RDEPEND="" + +S="${WORKDIR}/${ECVS_MODULE}" + +src_unpack() { + if [ "${ECVS_SERVER}" == "offline" ] ; then + # unpack ${A} + die "The cvs is unreachable at this time. A direct internet connection is required for this task." + else + cvs_src_unpack + fi + + cd ${S} || die + # we want to cacehe as many of the bug downloads as we can in + # the $PORTDIR/distfiles/ + mkdir -p sources/dl/ + cd sources/dl/ + for f in wrt54gs.${LINKSYS_REVISION}.tgz gcc-${GCC_VERSION}.tar.bz2 \ + uClibc-${SNAPSHOT}.tar.bz2 binutils-${BINUTILS_VERSION}.tar.bz2 ; do + ln -s ${DISTDIR}/${f} ${f} + done +} + +src_compile() { + #export SNAPSHOT GCC_VERSION + env MAKEOPTS="" emake PACKAGES="" SQUASHFS_SOURCE=squashfs2.0.tar.gz \ + JLEVEL="${MAKEOPTS}" || die "make failed" +} + +src_install() { + dodir /usr/share/${PN}/$(date -u +%Y%m%d)/ + 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() { + einfo "Please follow the instructions outlined on the webpage at ${HOMEPAGE} and in the README" +} |