0
0
Fork 0
haikuports/dev-embedded/u_boot_tools/u_boot_tools-2012.10.recipe

46 lines
877 B
Bash

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="https://www.denx.de/wiki/U-Boot/Documentation/"
COPYRIGHT="2003 - 2012 U-Boot"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2"
CHECKSUM_SHA256="dddec75070b5faa5df463085e3e1d27c6d058ec3481c666917baa961956d4d17"
SOURCE_DIR="u-boot-$portVersion"
PATCHES="u_boot_tools-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
u_boot_tools = $portVersion
cmd:mkenvimage
cmd:mkimage
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:cmp
cmd:gcc
cmd:make
"
BUILD()
{
cp include/image.h include/uimage.h
make tools
}
INSTALL()
{
mkdir -p $binDir
cp tools/mkimage $binDir
cp tools/mkenvimage $binDir
}