diff options
Diffstat (limited to 'libre/uboot-tools/PKGBUILD')
-rw-r--r-- | libre/uboot-tools/PKGBUILD | 28 |
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 +} |