Changeset 303f30e in freewrt
- Timestamp:
- May 22, 2007, 2:18:54 PM (19 years ago)
- Children:
- 070e631
- Parents:
- 76eb251
- Files:
-
- 3 edited
-
mk/pkg-bottom.mk (modified) (3 diffs)
-
package/glib/Makefile (modified) (2 diffs)
-
package/libxml2/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mk/pkg-bottom.mk
r76eb251 r303f30e 60 60 ${_BUILD_COOKIE}: ${_CONFIGURE_COOKIE} 61 61 @env ${MAKE_ENV} ${MAKE} pre-build 62 if eq (${BUILD_STYLE},auto)62 ifneq ($(filter auto,${BUILD_STYLE}),) 63 63 cd ${WRKBUILD} && env ${MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ 64 64 ${MAKE_FLAGS} ${ALL_TARGET} … … 81 81 @${MAKE} ${_ALL_CONTROLS} 82 82 @env ${MAKE_ENV} ${MAKE} pre-install 83 if eq (${INSTALL_STYLE},auto)83 ifneq ($(filter auto,${INSTALL_STYLE}),) 84 84 cd ${WRKBUILD} && env ${MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \ 85 85 DESTDIR='${WRKINST}' ${FAKE_FLAGS} ${INSTALL_TARGET} … … 89 89 @echo "Invalid INSTALL_STYLE '${INSTALL_STYLE}'" >&2 90 90 @exit 1 91 endif 92 ifneq ($(filter confprog,${INSTALL_STYLE}),) 93 for a in ${WRKINST}/usr/{bin/*-config,lib/pkgconfig/*.pc}; do \ 94 [[ -e $$a ]] || break; \ 95 printf ',g/^prefix=/s,,&${STAGING_DIR},\nwq\n' | ed -s $$a; \ 96 done 97 @: # not needed at the moment: ',g/-[IL].{/s,-[IL],&${STAGING_DIR},' 91 98 endif 92 99 @env ${MAKE_ENV} ${MAKE} post-install -
package/glib/Makefile
r76eb251 r303f30e 44 44 glib_cv_byte_contents_gmutex="0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" 45 45 BUILD_STYLE= auto 46 INSTALL_STYLE= auto 46 INSTALL_STYLE= auto confprog 47 47 48 48 post-install: … … 53 53 ${INSTALL_DIR} ${WRKINST}/usr/include/glib-1.2 54 54 ${CP} ${WRKBUILD}/glibconfig-sysdefs.h ${WRKINST}/usr/include/glib-1.2/ 55 for a in ${WRKINST}/usr/{bin/glib-config,lib/pkgconfig/*.pc}; do \56 printf ',g/^prefix=/s,,&${STAGING_DIR},\nwq\n' | ed -s $$a; \57 done58 #',g/-[IL].{/s,-[IL],&${STAGING_DIR},' |59 55 60 56 include ${TOPDIR}/mk/pkg-bottom.mk -
package/libxml2/Makefile
r76eb251 r303f30e 9 9 PKG_NAME:= libxml2 10 10 PKG_VERSION:= 2.6.20 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 8f0b3ce721bda11401e656b90ba4e78c 13 13 PKG_SOURCE_URL:= http://xmlsoft.org/sources/ \ … … 48 48 49 49 BUILD_STYLE= auto 50 INSTALL_STYLE= auto 50 INSTALL_STYLE= auto confprog 51 51 52 52 post-install: 53 53 ${INSTALL_DIR} ${IDIR_LIBXML2}/usr/lib 54 54 ${CP} ${WRKINST}/usr/lib/libxml2.so.* ${IDIR_LIBXML2}/usr/lib/ 55 # fixup pkg-config stuff56 ${SED} 's,-I$${includedir}/libxml2,,g' ${WRKINST}/usr/bin/xml2-config57 ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/bin/xml2-config58 ${SED} 's,-I${STAGING_DIR}/usr/include,,g' ${WRKINST}/usr/bin/xml2-config59 ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/bin/xml2-config60 ${SED} 's,-L${STAGING_DIR}/usr/lib,,g' ${WRKINST}/usr/bin/xml2-config61 ${SED} 's,-I$${includedir}/libxml2,,g' ${WRKINST}/usr/lib/pkgconfig/libxml-2.0.pc62 ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/libxml-2.0.pc63 55 64 56 include ${TOPDIR}/mk/pkg-bottom.mk
Note:
See TracChangeset
for help on using the changeset viewer.
