ports/opt (3.0): u-boot-tools: initial import
commit 316aee794890ab6c0059c48f03762da9b86b1846 Author: Jose V Beneyto <sepen@crux.nu> Date: Thu Oct 17 11:46:43 2013 +0200 u-boot-tools: initial import diff --git a/u-boot-tools/.footprint b/u-boot-tools/.footprint new file mode 100644 index 0000000..339bb1f --- /dev/null +++ b/u-boot-tools/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/mkenvimage +-rwxr-xr-x root/root usr/bin/mkimage +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/mkimage.1.gz diff --git a/u-boot-tools/.md5sum b/u-boot-tools/.md5sum new file mode 100644 index 0000000..b87e9e7 --- /dev/null +++ b/u-boot-tools/.md5sum @@ -0,0 +1 @@ +8445162690052e6afd4b8f87af2bb557 u-boot-2013.07.tar.bz2 diff --git a/u-boot-tools/Pkgfile b/u-boot-tools/Pkgfile new file mode 100644 index 0000000..7f60fe2 --- /dev/null +++ b/u-boot-tools/Pkgfile @@ -0,0 +1,23 @@ +# Description: U-Boot tools +# URL: http://www.denx.de/wiki/U-Boot/WebHome +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Packager: Jose V Beneyto, sepen at crux dot nu +# Depends on: + +name=u-boot-tools +version=2013.07 +release=1 +source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$version.tar.bz2) + +build() { + cd u-boot-$version + + # use custom compiler flags + sed -e "/^HOSTCFLAGS/ s/-O2/\$(CUSTOMCFLAGS)/" -i config.mk + + make V=1 tools CUSTOMCFLAGS="$CFLAGS" TOOLSUBDIRS="" + + install -d -m 0755 $PKG/usr/{bin,man/man1} + install -m 0755 tools/mk{,env}image $PKG/usr/bin + install -m 0644 doc/mkimage.1 $PKG/usr/man/man1 +}
participants (1)
-
crux@crux.nu