From 7f7e1db3357dedfa7386dbb00bcf51afffc2a283 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 Feb 2013 15:53:18 +0100 Subject: [PATCH] New package: uboot-mkimage-2013.01. --- srcpkgs/uboot-mkimage/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/uboot-mkimage/template diff --git a/srcpkgs/uboot-mkimage/template b/srcpkgs/uboot-mkimage/template new file mode 100644 index 00000000000..20cafc50833 --- /dev/null +++ b/srcpkgs/uboot-mkimage/template @@ -0,0 +1,24 @@ +# Template file for 'uboot-mkimage' +pkgname=uboot-mkimage +version=2013.01 +revision=1 +wrksrc="u-boot-${version}" +short_desc="The U-Boot mkimage utility" +maintainer="Juan RP " +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" +checksum=9ca0f35f4394281312d03c581e24a263cf3e0d9703f15103ff2ead5e5aa43f90 + +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 +}