rpi-userland: keep /etc/ld.so.conf.d.

This commit is contained in:
Juan RP 2015-09-07 19:22:49 +02:00
parent f70414734a
commit 3afa953fe3

View file

@ -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() {