summaryrefslogtreecommitdiff
path: root/pcr/omap-usb-boot
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-11 06:20:05 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-11 06:20:48 +0100
commit2c6b1815808b216d73e50240d9b7eb0d634bd121 (patch)
tree1649a94b174707574abc4039ffc540273cc49adb /pcr/omap-usb-boot
parent68b9eff38210aec94516cf0e55e51fda2ce63ed3 (diff)
downloadabslibre-2c6b1815808b216d73e50240d9b7eb0d634bd121.tar.gz
abslibre-2c6b1815808b216d73e50240d9b7eb0d634bd121.tar.bz2
abslibre-2c6b1815808b216d73e50240d9b7eb0d634bd121.zip
pcr: add omap-usb-boot from AUR
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/omap-usb-boot')
-rw-r--r--pcr/omap-usb-boot/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/omap-usb-boot/PKGBUILD b/pcr/omap-usb-boot/PKGBUILD
new file mode 100644
index 000000000..482356ef6
--- /dev/null
+++ b/pcr/omap-usb-boot/PKGBUILD
@@ -0,0 +1,38 @@
+# Copyright (C) 2020 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# Parabola changes and rationale:
+# no changes.
+
+pkgname=omap-usb-boot
+pkgver=0.1
+pkgrel=1
+pkgdesc="Tool to communicate with OMAP bootroms to execute code, change boot media, etc"
+arch=('armv7h' 'i686' 'x86_64')
+url='https://git.replicant.us/contrib/PaulK/omap-usb-boot/'
+license=('GPL3')
+depends=('libusb')
+makedepends=('git')
+_commit=('15ea4dcaecdf2e65a79d78a3fd4fd500addfc7cc')
+source=("git://git.replicant.us/PaulK/omap-usb-boot#commit=${_commit}")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package(){
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}