Subject: [alpine-aports] [PATCH] testing/raspberrypi-bootloader: new aport

From: Marian Buschsieweke <[email-masked]>
Date: Sun, 24 Apr 2016 16:03:07 +0200

https://github.com/raspberrypi/firmware

raspberrypi-bootloader: Bootloader files for the Raspberry Pi
raspberrypi-bootloader-x: Extra codecs for the Raspberry Pi
---
 testing/raspberrypi-bootloader/APKBUILD | 36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/raspberrypi-bootloader/APKBUILD

diff --git a/testing/raspberrypi-bootloader/APKBUILD b/testing/raspberrypi-bootloader/APKBUILD
new file mode 100644
index 0000000..fa2f63b
--- /dev/null
+++ b/testing/raspberrypi-bootloader/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Marian <[email-masked]>
+pkgname=raspberrypi-bootloader
+_commit=ea9087f2e0a3d155763dd5d04dd5c0bf95d63a05
+pkgver=20160423
+pkgrel=0
+pkgdesc="Bootloader files for the Raspberry Pi"
+url=https://github.com/raspberrypi/firmware
+arch="armhf"
+license="custom"
+depends=""
+makedepends=""
+install=
+source="https://github.com/raspberrypi/firmware/archive/${_commit}.tar.gz"
+subpackages="$pkgname-x:bootloader_x"
+
+_builddir="${srcdir}/firmware-${_commit}"
+package() {
+	cd "$_builddir"/boot
+	mkdir -p "$pkgdir"/boot
+	cp bootcode.bin "$pkgdir"/boot/
+	cp start.elf start_cd.elf start_db.elf "$pkgdir"/boot/
+	cp fixup.dat fixup_cd.dat fixup_db.dat "$pkgdir"/boot/
+}
+
+bootloader_x() {
+	pkgdesc="Extra codecs for the Raspberry Pi"
+	depends="$pkgname"
+	cd "$_builddir"/boot
+	mkdir -p "$subpkgdir"/boot
+	cp start_x.elf fixup_x.dat "$subpkgdir"/boot/
+}
+
+
+md5sums="2fd1d422422a73e3db42a105704f4eec  ea9087f2e0a3d155763dd5d04dd5c0bf95d63a05.tar.gz"
+sha256sums="c481864c470c3235e19d00e0e6b6b2d1477ed384f0e7ea0c12d333236ae4f7e3  ea9087f2e0a3d155763dd5d04dd5c0bf95d63a05.tar.gz"
+sha512sums="a7f06c4d8417f14e43b08ab17261edcea9d5afa1c038c95b30fefc14dca73dd318b1f3b3fe7a779d3c5f834f22491571c95d53c3241fb7b0cc0036a4f57165bd  ea9087f2e0a3d155763dd5d04dd5c0bf95d63a05.tar.gz"
-- 
2.8.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---