|
|
@ -11,9 +11,22 @@ define cmake-package |
|
|
|
$(call EXTRACT,$(BUILD_DIR)) |
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
|
$(APPLY_PATCHES); \
|
|
|
|
$(CMAKE); \
|
|
|
|
$(TARGET_CMAKE); \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
-rm -r $(TARGET_libdir)/cmake |
|
|
|
$(call FOLLOWUP) |
|
|
|
@rm -rf $(TARGET_libdir)/cmake |
|
|
|
$(call TARGET_FOLLOWUP) |
|
|
|
endef |
|
|
|
|
|
|
|
define host-cmake-package |
|
|
|
$(call DEPENDENCIES) |
|
|
|
$(call DOWNLOAD,$($(PKG)_SOURCE)) |
|
|
|
$(call STARTUP) |
|
|
|
$(call EXTRACT,$(BUILD_DIR)) |
|
|
|
$(CHDIR)/$($(PKG)_DIR); \
|
|
|
|
$(APPLY_PATCHES); \
|
|
|
|
$(HOST_CMAKE); \
|
|
|
|
$(MAKE); \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) |
|
|
|
$(call HOST_FOLLOWUP) |
|
|
|
endef |
|
|
|