2013-02-19 15:53:18 +01:00
|
|
|
# Template file for 'uboot-mkimage'
|
|
|
|
pkgname=uboot-mkimage
|
2014-01-26 00:30:52 +01:00
|
|
|
version=2014.01
|
2013-02-19 15:53:18 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="u-boot-${version}"
|
|
|
|
short_desc="The U-Boot mkimage utility"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.denx.de/wiki/U-Boot/WebHome"
|
|
|
|
distfiles="http://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
|
2014-01-26 00:30:52 +01:00
|
|
|
checksum=cdaf8c81583abfa2e73da46cfcf87b0cbd9741d9aa766f3b905376e3652d543d
|
2013-02-19 15:53:18 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
|
|
make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc" tools
|
|
|
|
else
|
|
|
|
make HOSTSTRIP=: tools
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall tools/mkimage 755 usr/bin
|
|
|
|
vinstall doc/mkimage.1 644 usr/share/man/man1
|
|
|
|
}
|