python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / qdecoder / 0001-fix-make-install.patch
blobf35356683972febd436c60f13abb626914c32028
1 [PATCH] fix make install to respect DESTDIR
3 And also ensure destination directories exist.
5 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 ---
7 src/Makefile.in | 17 +++++++++--------
8 1 file changed, 9 insertions(+), 8 deletions(-)
10 Index: qdecoder-r12.0.5/src/Makefile.in
11 ===================================================================
12 --- qdecoder-r12.0.5.orig/src/Makefile.in
13 +++ qdecoder-r12.0.5/src/Makefile.in
14 @@ -78,17 +78,18 @@
15 ${LN_S} -f ${SLIBREALNAME} ${SLIBNAME}
17 install: all
18 - ${INSTALL_DATA} qdecoder.h ${HEADERDIR}/qdecoder.h
19 - ${INSTALL_DATA} ${LIBNAME} ${LIBDIR}/${LIBNAME}
20 - ${INSTALL_DATA} ${SLIBREALNAME} ${LIBDIR}/${SLIBREALNAME}
21 - ( cd ${LIBDIR}; ${LN_S} -f ${SLIBREALNAME} ${SLIBNAME} )
22 + mkdir -p ${DESTDIR}/${HEADERDIR} ${DESTDIR}/${LIBDIR}
23 + ${INSTALL_DATA} qdecoder.h ${DESTDIR}/${HEADERDIR}/qdecoder.h
24 + ${INSTALL_DATA} ${LIBNAME} ${DESTDIR}/${LIBDIR}/${LIBNAME}
25 + ${INSTALL_DATA} ${SLIBREALNAME} ${DESTDIR}/${LIBDIR}/${SLIBREALNAME}
26 + ( cd ${DESTDIR}/${LIBDIR}; ${LN_S} -f ${SLIBREALNAME} ${SLIBNAME} )
28 deinstall: uninstall
29 uninstall:
30 - ${RM} -f ${HEADERDIR}/qdecoder.h
31 - ${RM} -f ${LIBDIR}/${LIBNAME}
32 - ${RM} -f ${LIBDIR}/${SLIBREALNAME}
33 - ${RM} -f ${LIBDIR}/${SLIBNAME}
34 + ${RM} -f ${DESTDIR}/${HEADERDIR}/qdecoder.h
35 + ${RM} -f ${DESTDIR}/${LIBDIR}/${LIBNAME}
36 + ${RM} -f ${DESTDIR}/${LIBDIR}/${SLIBREALNAME}
37 + ${RM} -f ${DESTDIR}/${LIBDIR}/${SLIBNAME}
39 doc:
40 doxygen doxygen.conf