1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/testing/raspberrypi-bootloader/APKBUILD
Marian Buschsieweke 187e59cec6 testing/raspberrypi-bootloader: new aport
https://github.com/raspberrypi/firmware

raspberrypi-bootloader: Bootloader files for the Raspberry Pi
raspberrypi-bootloader-x: Extra codecs for the Raspberry Pi
2016-12-27 06:48:58 +00:00

35 lines
1.2 KiB
Text

# Contributor: Marian <mari.hahn@wwu.de>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=raspberrypi-bootloader
_commit=d760a4ffd378c648ff5d9854e26dc868a5e1fd09
pkgver=20161203
pkgrel=0
pkgdesc="Bootloader files for the Raspberry Pi"
url=https://github.com/raspberrypi/firmware
arch="armhf"
license="custom"
depends=""
makedepends=""
install=
source="$pkgname-$pkgver.tar.gz::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 fixup.dat start.elf "$pkgdir"/boot/
}
bootloader_x() {
pkgdesc="Extra codecs for the Raspberry Pi"
depends="$pkgname"
cd "$builddir"/boot
mkdir -p "$subpkgdir"/boot
cp start_x.elf start_cd.elf start_db.elf fixup_x.dat fixup_cd.dat fixup_db.dat "$subpkgdir"/boot/
}
md5sums="ffa8fc62babc22fc1de724ff961b4d51 raspberrypi-bootloader-20161203.tar.gz"
sha256sums="cc5ec6abea86d504ef0a931f2fbd452c979af1a4695e6fedde5bbcf5caefc32a raspberrypi-bootloader-20161203.tar.gz"
sha512sums="e6626a4260a276a95cbc38525c911edb58b6c3fe1c57ee34adfbb970245ff3f99a5c3635a328f4799a886668273b0ba2002454dad300a97799bd974f9ea5a26a raspberrypi-bootloader-20161203.tar.gz"