summaryrefslogtreecommitdiff
path: root/raspberrypi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'raspberrypi/APKBUILD')
-rw-r--r--raspberrypi/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/raspberrypi/APKBUILD b/raspberrypi/APKBUILD
index a9ea591..06b7caf 100644
--- a/raspberrypi/APKBUILD
+++ b/raspberrypi/APKBUILD
@@ -2,7 +2,7 @@
pkgname=raspberrypi
pkgver=0.20191218
_commitid=06bc6daa02137ca72b7a2104afad81e82a44de17
-pkgrel=0
+pkgrel=1
pkgdesc="Raspberry Pi support tools"
url="https://github.com/raspberrypi/userland"
arch="armhf armv7 aarch64"
@@ -14,7 +14,8 @@ install=""
options="!fhs !check"
subpackages="$pkgname-dev $pkgname-static $pkgname-libs"
source="raspberrypi-$pkgver.tar.gz::https://github.com/raspberrypi/userland/archive/$_commitid.tar.gz
- "
+ ld.so.conf
+"
builddir="$srcdir"/userland-$_commitid
@@ -42,6 +43,8 @@ package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
+ install -Dm644 "$srcdir"/ld.so.conf "$pkgdir"/etc/ld.so.conf.d/00-raspberry-pi.conf
+
# nuke the unwanted stuff
rm -rf "$pkgdir"/opt/vc/src
}
@@ -60,4 +63,5 @@ libs() {
mv "$pkgdir"/opt/vc/lib/* "$subpkgdir"/opt/vc/lib
}
-sha512sums="8a476b7d749457718e02efd488b175a45c2522e2fc0c9198a3085670af0ad29dfc2e04562c9e6944085af5589ba1943bcefb2c023c465d895a30c9090b8f7bd7 raspberrypi-0.20191218.tar.gz"
+sha512sums="8a476b7d749457718e02efd488b175a45c2522e2fc0c9198a3085670af0ad29dfc2e04562c9e6944085af5589ba1943bcefb2c023c465d895a30c9090b8f7bd7 raspberrypi-0.20191218.tar.gz
+af4bec6613ac1fc23f8fee7cfb132c4ac32699bf0b1a9fc687843b5ead0c2c6fc6e2842df740d32c89dc69211a92588ef91b62b1b96748653ab34deb6be76cd7 ld.so.conf"