diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-01-11 12:33:35 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-01-15 01:59:50 +0100 |
commit | 48f0a2adf0d969ffa8110e1efb42a5bde0d29794 (patch) | |
tree | 490dbf57142c10ef3d581565391906dc6670f987 | |
parent | f728b4a05500686700a4d9618b0ccc233dde2a3a (diff) | |
download | abslibre-48f0a2adf0d969ffa8110e1efb42a5bde0d29794.tar.gz abslibre-48f0a2adf0d969ffa8110e1efb42a5bde0d29794.tar.bz2 abslibre-48f0a2adf0d969ffa8110e1efb42a5bde0d29794.zip |
[libre-testing] Add barebox-tools
This PKGBUILD is based on uboot-tools
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | libre-testing/barebox-tools/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libre-testing/barebox-tools/PKGBUILD b/libre-testing/barebox-tools/PKGBUILD new file mode 100644 index 000000000..7d4ef7647 --- /dev/null +++ b/libre-testing/barebox-tools/PKGBUILD @@ -0,0 +1,30 @@ +# Barebox: am335x +# Contributor: Denis Carikli <GNUtoo@cyberdimension.org> + +_pkgname=barebox +pkgname=barebox-tools +pkgver=2018.12.0 +pkgrel=1 +pkgdesc='Barebox bootloader utility tools' +arch=('armv7h' 'i686' 'armv7h') +makedepends=('lzop') +url="http://barebox.org/" +license=('GPL2') +source=("http://barebox.org/download/${_pkgname}-${pkgver}.tar.bz2") +sha512sums=('3f83c1057e16fac1ee3afac849e5f0a1e2353b767754e6f206178c99d709bc4b22127be9c340be471592c4c650f25e91fcc5a5ad28a8375a049a41a417c08dd1') + +build() { + cd "${_pkgname}-${pkgver}" + unset CFLAGS CXXFLAGS LDFLAGS + yes '' | make config + make scripts +} + +package() { + cd "${_pkgname}-${pkgver}" + install -d "${pkgdir}/usr/bin/" + install -m755 -t "${pkgdir}/usr/bin/" "scripts/bareboxenv" + for file in kernel-install mkimage netconsole ; do + install -m755 "scripts/${file}" "${pkgdir}/usr/bin/barebox-${file}" + done +} |