summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-24 21:17:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-24 21:17:06 +0000
commit32de28f85b9f85714e052f2e9555fc87182c9a67 (patch)
tree80f3df3daa36b022c180cabd5148a78ef95dd0c0 /dev-embedded/u-boot-tools
parentunmasked nsplugin for ibm-j{re,dk}-bin-1.6* (diff)
downloadhistorical-32de28f85b9f85714e052f2e9555fc87182c9a67.tar.gz
historical-32de28f85b9f85714e052f2e9555fc87182c9a67.tar.bz2
historical-32de28f85b9f85714e052f2e9555fc87182c9a67.zip
Initial import. Ebuild by me.
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'dev-embedded/u-boot-tools')
-rw-r--r--dev-embedded/u-boot-tools/ChangeLog8
-rw-r--r--dev-embedded/u-boot-tools/Manifest26
-rw-r--r--dev-embedded/u-boot-tools/files/digest-u-boot-tools-1.3.13
-rw-r--r--dev-embedded/u-boot-tools/metadata.xml5
-rw-r--r--dev-embedded/u-boot-tools/u-boot-tools-1.3.1.ebuild46
5 files changed, 88 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..f099d342337f
--- /dev/null
+++ b/dev-embedded/u-boot-tools/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST u-boot-1.3.1.tar.bz2 6919821 RMD160 91f5e7754df3abc05547c9940a3f3ca7ffa4aeb1 SHA1 dfc8ff7188f0a612abf4039322c793e669de85eb SHA256 64811b4ab4ca362b01a3d08f53a2dbbf059e18484b90cb5e21c0365d53b87f77
+EBUILD u-boot-tools-1.3.1.ebuild 1205 RMD160 6d89a899a4649ac2b180721a5e5bdbd987d1c467 SHA1 252f3b9024bcb0a9265dcc288c8e9403cfa30cda SHA256 2127c236be8b4a9b4089878d28a7899110b11a3835e2cc775820d1638eb31444
+MD5 753066e41581489050fd8856aceb1c24 u-boot-tools-1.3.1.ebuild 1205
+RMD160 6d89a899a4649ac2b180721a5e5bdbd987d1c467 u-boot-tools-1.3.1.ebuild 1205
+SHA256 2127c236be8b4a9b4089878d28a7899110b11a3835e2cc775820d1638eb31444 u-boot-tools-1.3.1.ebuild 1205
+MISC ChangeLog 369 RMD160 4204477b98febf3cf861e05ab9542d79b5b70a0d SHA1 9cf645f15f610261303c5931063000215884574b SHA256 c48145a01aa409521c726900e87d9954b3123132a310efb0cfc1cdcac7228c8e
+MD5 dd4a2f2a261424d4a61561313eb6fdb6 ChangeLog 369
+RMD160 4204477b98febf3cf861e05ab9542d79b5b70a0d ChangeLog 369
+SHA256 c48145a01aa409521c726900e87d9954b3123132a310efb0cfc1cdcac7228c8e ChangeLog 369
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.8 (GNU/Linux)
+
+iEYEARECAAYFAkdwIY4ACgkQj9hvisErhMJnBACgs6sZkZ613IDo8qoD9epUyJbL
+sGYAnRZbIYOhso7NE5puz/ayvThXhoJ8
+=vrRS
+-----END PGP SIGNATURE-----
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
+}