summaryrefslogtreecommitdiff
path: root/libre/uboot-tools/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-05 06:18:47 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-05 06:19:29 -0300
commit56aef2f2a661339427fdfeb85049eb5fe0211fb4 (patch)
tree14142d1e3cf2fa5bb694706453df92ac9e0ddbb0 /libre/uboot-tools/PKGBUILD
parent59dbec451faeec56795c618e5be5cae53d7a1a58 (diff)
downloadabslibre-56aef2f2a661339427fdfeb85049eb5fe0211fb4.tar.gz
abslibre-56aef2f2a661339427fdfeb85049eb5fe0211fb4.tar.bz2
abslibre-56aef2f2a661339427fdfeb85049eb5fe0211fb4.zip
add uboot-tools
Diffstat (limited to 'libre/uboot-tools/PKGBUILD')
-rw-r--r--libre/uboot-tools/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <bevan@bi-co.net>
+# Contributor: Philipp Schrader <philipp.schrader+arch@gmail.com>
+
+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
+}