PKGBUILDs/alarm/uboot-tools/PKGBUILD

35 lines
1 KiB
Bash
Raw Normal View History

2014-05-17 18:28:16 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Contributor: Jonny Gerold <jonny@fsk141.com>
# Contributor: Julian Langschaedel <meta.rb@gmail.com>
pkgname=uboot-tools
2017-09-13 00:02:30 +00:00
pkgver=2017.09
2017-05-19 01:37:51 +00:00
pkgrel=1
2014-05-17 18:28:16 +00:00
pkgdesc="U-Boot Tools"
2015-10-29 02:43:07 +00:00
arch=('arm' 'armv6h' 'armv7h' 'aarch64')
2014-05-17 18:28:16 +00:00
license=('GPL' 'LGPL')
provides=('uboot-env' 'uboot-mkimage')
replaces=('uboot-env' 'uboot-mkimage')
backup=(etc/fw_env.config)
source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2
2015-01-19 21:51:11 +00:00
fw_env.config)
2017-09-13 00:02:30 +00:00
md5sums=('9f7eb7db4530996a28e86f38f3b3e66f'
2015-01-12 11:48:13 +00:00
'5a9dcbae5957f8621080d4bbc0e1520f')
2014-05-17 18:28:16 +00:00
build() {
cd u-boot-${pkgver}
2015-01-03 07:04:17 +00:00
make defconfig
2016-01-14 02:15:30 +00:00
make tools-all CONFIG_KIRKWOOD=y
2014-05-17 18:28:16 +00:00
}
package() {
cd u-boot-${pkgver}
install -dm755 ${pkgdir}/{usr/{bin,share/man/man1},etc}
2015-01-19 21:51:11 +00:00
install -m755 tools/{fit_{check_sign,info},dumpimage,mkimage,mkenvimage,netconsole,ncb,proftool,env/fw_printenv,kwboot} ${pkgdir}/usr/bin
2014-05-17 18:28:16 +00:00
ln -s /usr/bin/fw_printenv ${pkgdir}/usr/bin/fw_setenv
install -m644 ${srcdir}/fw_env.config ${pkgdir}/etc
install -m644 doc/{mkimage,kwboot}.1 ${pkgdir}/usr/share/man/man1
}