You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
492 B
21 lines
492 B
4 years ago
|
################################################################################
|
||
|
#
|
||
|
# CMake packages
|
||
|
#
|
||
|
################################################################################
|
||
|
|
||
|
define cmake-package
|
||
|
$(REMOVE)/$($(PKG)_DIR)
|
||
|
$(UNTAR)/$($(PKG)_SOURCE)
|
||
|
$(CHDIR)/$($(PKG)_DIR); \
|
||
|
$(APPLY_PATCHES); \
|
||
|
$(CMAKE); \
|
||
|
$(MAKE); \
|
||
|
$(MAKE) install DESTDIR=$(TARGET_DIR)
|
||
|
-rm -r $(TARGET_libdir)/cmake
|
||
|
$(REWRITE_CONFIG_SCRIPTS)
|
||
|
$(REWRITE_LIBTOOL)
|
||
|
$(REMOVE)/$($(PKG)_DIR)
|
||
|
$(TOUCH)
|
||
|
endef
|