summaryrefslogtreecommitdiff
path: root/pcr/uboot-tools
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-05 13:29:30 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-05 13:29:30 -0500
commit52922a1c30c8f00f8326db3ca20284ab4faa8712 (patch)
treef609c08a54ea568a7b51c44574c6e46b2573d9af /pcr/uboot-tools
parent6f456f10044bbe828dd775edfb831b84e52e6ece (diff)
downloadabslibre-52922a1c30c8f00f8326db3ca20284ab4faa8712.tar.gz
abslibre-52922a1c30c8f00f8326db3ca20284ab4faa8712.tar.bz2
abslibre-52922a1c30c8f00f8326db3ca20284ab4faa8712.zip
uboot-tools-2017.07-1: updating version
Diffstat (limited to 'pcr/uboot-tools')
-rw-r--r--pcr/uboot-tools/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/uboot-tools/PKGBUILD b/pcr/uboot-tools/PKGBUILD
new file mode 100644
index 000000000..65fa2cfc8
--- /dev/null
+++ b/pcr/uboot-tools/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer (Arch): Anatol Pomozov
+# Contributor (Arch): Michael Lass <bevan@bi-co.net>
+# Contributor (Arch): Philipp Schrader <philipp.schrader+arch@gmail.com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=uboot-tools
+pkgver=2017.07
+pkgrel=1
+pkgdesc='U-Boot bootloader utility tools'
+arch=(armv7h)
+url='http://www.denx.de/wiki/U-Boot/WebHome'
+license=(GPL)
+depends=(openssl)
+source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2{,.sig})
+validpgpkeys=('E872DB409C1A687EFBE8633687F9F635D31D7652')
+sha256sums=('5374bfdc8acb9a38c025371b1ff20f45e7533668e84e685d0df5d9e7c0e4feff'
+ 'SKIP')
+
+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
+}