u_boot_tools: fix recipe.

This commit is contained in:
Adrien Destugues
2014-09-21 11:51:33 +02:00
parent c456987b38
commit 2b63e8d7ad
3 changed files with 221 additions and 128 deletions

View File

@@ -1,21 +1,42 @@
DESCRIPTION="utilities for working with Das U-Boot"
SUMMARY="utilities for working with Das U-Boot"
DESCRIPTION="This package includes the mkimage program, which allows generation
of U-Boot images in various formats."
HOMEPAGE="http://www.denx.de/wiki/U-Boot/Documentation"
SRC_URI="http://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
ARCHITECTURES="x86_gcc2"
SRC_URI="http://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2"
SOURCE_DIR="u-boot-$portVersion"
CHECKSUM_SHA256="dddec75070b5faa5df463085e3e1d27c6d058ec3481c666917baa961956d4d17"
PATCHES="u_boot_tools-$portVersion.patchset"
PROVIDES="
u_boot_tools = $portVersion
cmd:mkimage
cmd:mkenvimage
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:make
"
BUILD()
{
cd u-boot-2012.10
mv include/image.h include/uimage.h
cp include/image.h include/uimage.h
make tools
}
INSTALL()
{
cd u-boot-2012.10
cp -r /tools/mkimage /boot/common/bin/
cp -r /tools/mkenvimage /boot/common/bin/
mkdir -p $binDir
cp tools/mkimage $binDir
cp tools/mkenvimage $binDir
}
LICENSE="GNU GPL v2"