summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-04 05:21:33 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-04 05:21:33 +0000
commit40860c16e606103ea5b8d88ce63d8220c2eeb4dd (patch)
treefcdeacc891b7a37fdf7f7fa5c6b488184dc2a9f6 /dev-embedded/u-boot-tools
parentold (diff)
downloadgentoo-2-40860c16e606103ea5b8d88ce63d8220c2eeb4dd.tar.gz
gentoo-2-40860c16e606103ea5b8d88ce63d8220c2eeb4dd.tar.bz2
gentoo-2-40860c16e606103ea5b8d88ce63d8220c2eeb4dd.zip
Version bump.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
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/u-boot-tools-2009.08.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-embedded/u-boot-tools/ChangeLog b/dev-embedded/u-boot-tools/ChangeLog
index 45f956f2b817..9dc1c9bbb8f4 100644
--- a/dev-embedded/u-boot-tools/ChangeLog
+++ b/dev-embedded/u-boot-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/u-boot-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.10 2009/08/26 15:25:26 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/u-boot-tools/ChangeLog,v 1.11 2009/09/04 05:21:33 vapier Exp $
+
+*u-boot-tools-2009.08 (04 Sep 2009)
+
+ 04 Sep 2009; Mike Frysinger <vapier@gentoo.org>
+ +u-boot-tools-2009.08.ebuild:
+ Version bump.
*u-boot-tools-2009.08_rc3 (26 Aug 2009)
diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2009.08.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2009.08.ebuild
new file mode 100644
index 000000000000..792df40043ba
--- /dev/null
+++ b/dev-embedded/u-boot-tools/u-boot-tools-2009.08.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 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-2009.08.ebuild,v 1.1 2009/09/04 05:21:33 vapier Exp $
+
+inherit flag-o-matic
+
+MY_P="u-boot-${PV/_/-}"
+
+DESCRIPTION="utilities for working with Das U-Boot"
+HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
+SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+domake() {
+ emake \
+ HOSTSTRIP=echo \
+ HOSTCC="$(tc-getCC)" CC="$(tc-getCC)" \
+ HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ "$@"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ touch include/config.{h,mk} include/autoconf.mk{.dep,}
+ sed -i \
+ -e 's:HOST_CFLAGS:HOSTCFLAGS:g' \
+ Makefile *.mk tools/Makefile
+ sed -i \
+ -e '/CFLAGS/s:-O::' \
+ tools/Makefile
+}
+
+src_compile() {
+ domake SUBDIRS=tools BIN_FILES-y="bmp_logo gen_eth_addr img2srec mkimage" tools || die
+ domake -C tools/easylogo || die
+ domake 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
+}