rpi-userland: keep /etc/ld.so.conf.d.
This commit is contained in:
parent
f70414734a
commit
3afa953fe3
1 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
|
||||||
|
|
||||||
pkgname=rpi-userland
|
pkgname=rpi-userland
|
||||||
version=0.0.0.0.20150907
|
version=0.0.0.0.20150907
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="userland-${_githash}"
|
wrksrc="userland-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
|
@ -39,13 +39,14 @@ pre_configure() {
|
||||||
sed -i '/extern FILE \*stderr/d' host_applications/linux/apps/raspicam/RaspiVidYUV.c
|
sed -i '/extern FILE \*stderr/d' host_applications/linux/apps/raspicam/RaspiVidYUV.c
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir etc/ld.so.conf.d
|
|
||||||
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
|
||||||
|
|
||||||
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…
Reference in a new issue