mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
rpi-userland: set rpath properly.
This commit is contained in:
parent
9323e237ea
commit
fdc3141998
1 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-userland
|
pkgname=rpi-userland
|
||||||
version=20160205
|
version=20160205
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="userland-${_githash}"
|
wrksrc="userland-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
|
@ -15,7 +15,7 @@ homepage="https://github.com/raspberrypi/userland"
|
||||||
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
||||||
checksum=5c25eb4de5feb11fdf74d58779f4cc615cda6623b81648ae15ae5e4ddf94c5ce
|
checksum=5c25eb4de5feb11fdf74d58779f4cc615cda6623b81648ae15ae5e4ddf94c5ce
|
||||||
|
|
||||||
LDFLAGS="-Wl,--no-as-needed"
|
LDFLAGS="-Wl,--no-as-needed -Wl,-rpath /opt/vc/lib"
|
||||||
|
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
|
|
||||||
|
@ -37,14 +37,14 @@ shlib_provides="
|
||||||
libGLESv2.so
|
libGLESv2.so
|
||||||
libEGL.so"
|
libEGL.so"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
mkdir -p /opt/vc/lib
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/pkgconfig
|
vmkdir usr/lib/pkgconfig
|
||||||
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig
|
||||||
rm -rf ${DESTDIR}/etc
|
rm -rf ${DESTDIR}/etc
|
||||||
rm -rf ${DESTDIR}/opt/vc/share
|
rm -rf ${DESTDIR}/opt/vc/share
|
||||||
|
|
||||||
vmkdir etc/ld.so.conf.d
|
|
||||||
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rpi-userland-devel_package() {
|
rpi-userland-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue