mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
u_boot_tools: fix recipe.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user