diff options
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/u-boot-tools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/Manifest | 16 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/files/digest-u-boot-tools-1.3.1 | 3 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/metadata.xml | 5 | ||||
-rw-r--r-- | dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild | 46 |
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-embedded/u-boot-tools/ChangeLog b/dev-embedded/u-boot-tools/ChangeLog new file mode 100644 index 000000000000..65adf2ff0439 --- /dev/null +++ b/dev-embedded/u-boot-tools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-embedded/u-boot-tools +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.1 2007/12/24 21:17:06 vapier Exp $ + +*u-boot-tools-1.3.1 (24 Dec 2007) + + 24 Dec 2007; Mike Frysinger <vapier@gentoo.org> +u-boot-tools-1.3.1.ebuild: + Initial import. Ebuild by me. diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest new file mode 100644 index 000000000000..6d758dae4352 --- /dev/null +++ b/dev-embedded/u-boot-tools/Manifest @@ -0,0 +1,16 @@ +DIST u-boot-1.3.1.tar.bz2 6919821 RMD160 91f5e7754df3abc05547c9940a3f3ca7ffa4aeb1 SHA1 dfc8ff7188f0a612abf4039322c793e669de85eb SHA256 64811b4ab4ca362b01a3d08f53a2dbbf059e18484b90cb5e21c0365d53b87f77 +EBUILD u-boot-tools-1.3.1.ebuild 1092 RMD160 d9c396ff6a4536d1a398b72ac16d8776af277709 SHA1 fd04303151cf35b3569ae378dec661f67f092aec SHA256 b62952638e92dc085c82ba9aa4166af03ede92eb9b849d861f30c935152d6c77 +MD5 f706079b8006d065a87f2c74c682f373 u-boot-tools-1.3.1.ebuild 1092 +RMD160 d9c396ff6a4536d1a398b72ac16d8776af277709 u-boot-tools-1.3.1.ebuild 1092 +SHA256 b62952638e92dc085c82ba9aa4166af03ede92eb9b849d861f30c935152d6c77 u-boot-tools-1.3.1.ebuild 1092 +MISC ChangeLog 272 RMD160 d49043ff2d5e5e192af3d9fb45f3ec3ec4b8854f SHA1 48943443b8db3581161a50fb4b3fcd3e35be23df SHA256 8e4b38d7dc85e2debc72a9d14746cd2ababba72e60ff7b6c10691ed08a015f17 +MD5 834becce454ed4630b521c812c0e263e ChangeLog 272 +RMD160 d49043ff2d5e5e192af3d9fb45f3ec3ec4b8854f ChangeLog 272 +SHA256 8e4b38d7dc85e2debc72a9d14746cd2ababba72e60ff7b6c10691ed08a015f17 ChangeLog 272 +MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a +MD5 420df847a3db1c4969aff20243f656dd metadata.xml 165 +RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 metadata.xml 165 +SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a metadata.xml 165 +MD5 8e14691187c94c43b73cc782f8a32951 files/digest-u-boot-tools-1.3.1 244 +RMD160 3c6f2072c9e79d99d968c20e644d41ab31f7f0b4 files/digest-u-boot-tools-1.3.1 244 +SHA256 55a613b07fcdfb472608052d4dbfcf4aa6678e3cdef061a7d86e1edbae23450c files/digest-u-boot-tools-1.3.1 244 diff --git a/dev-embedded/u-boot-tools/files/digest-u-boot-tools-1.3.1 b/dev-embedded/u-boot-tools/files/digest-u-boot-tools-1.3.1 new file mode 100644 index 000000000000..8caca317ea08 --- /dev/null +++ b/dev-embedded/u-boot-tools/files/digest-u-boot-tools-1.3.1 @@ -0,0 +1,3 @@ +MD5 8fbd29c7e70c524a42d18b9c3f3a4aa1 u-boot-1.3.1.tar.bz2 6919821 +RMD160 91f5e7754df3abc05547c9940a3f3ca7ffa4aeb1 u-boot-1.3.1.tar.bz2 6919821 +SHA256 64811b4ab4ca362b01a3d08f53a2dbbf059e18484b90cb5e21c0365d53b87f77 u-boot-1.3.1.tar.bz2 6919821 diff --git a/dev-embedded/u-boot-tools/metadata.xml b/dev-embedded/u-boot-tools/metadata.xml new file mode 100644 index 000000000000..92114080841c --- /dev/null +++ b/dev-embedded/u-boot-tools/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +</pkgmetadata> diff --git a/dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild new file mode 100644 index 000000000000..897190d52028 --- /dev/null +++ b/dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild,v 1.1 2007/12/24 21:17:06 vapier Exp $ + +MY_P="u-boot-${PV}" + +DESCRIPTION="utilities for working with Das U-Boot" +HOMEPAGE="http://www.denx.de/wiki/UBoot" +SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + touch include/config.mk + sed -i 's:linux/string.h:string.h:' lib_generic/sha1.c || die + sed -i 's:linux/mtd/mtd.h:mtd/mtd-user.h:' tools/env/fw_env.c || die + sed -i \ + -e '1i#include <string.h>' \ + -e '1i#include <stdlib.h>' \ + tools/easylogo/easylogo.c || die +} + +src_compile() { + emake HOSTSTRIP=echo BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage" tools || die + emake HOSTSTRIP=echo -C tools/easylogo || die + emake env || die +} + +src_install() { + cd tools + dobin bmp_logo gen_eth_addr img2srec mkimage || die + dobin easylogo/easylogo || die + dobin env/fw_printenv || die + dosym fw_printenv /usr/bin/fw_setenv || die + insinto /etc + doins env/fw_env.config || die +} |