From 56aef2f2a661339427fdfeb85049eb5fe0211fb4 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Mon, 5 Oct 2015 06:18:47 -0300 Subject: add uboot-tools --- libre/uboot-tools/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libre/uboot-tools/PKGBUILD diff --git a/libre/uboot-tools/PKGBUILD b/libre/uboot-tools/PKGBUILD new file mode 100644 index 000000000..4094c6d39 --- /dev/null +++ b/libre/uboot-tools/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 137412 2015-07-25 19:38:49Z anatolik $ +# Maintainer: Anatol Pomozov +# Contributor: Michael Lass +# Contributor: Philipp Schrader + +pkgname=uboot-tools +pkgver=2015.07 +pkgrel=1 +pkgdesc='U-Boot bootloader utility tools' +arch=(i686 x86_64 armv7h) +url='http://www.denx.de/wiki/U-Boot/WebHome' +license=(GPL) +depends=(glibc openssl) +source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2) +sha1sums=('1e4e8df0ab7cfc2ee4ff6bf44c1b2085544d36f0') + +build() { + cd u-boot-$pkgver + make defconfig + make tools-all +} + +package() { + install -m 755 -d "$pkgdir"/usr/bin + install -m 755 -t "$pkgdir"/usr/bin/ u-boot-$pkgver/tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb} + ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv + install -m 644 -D u-boot-$pkgver/doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1 +} -- cgit v1.2.3-54-g00ecf