2011-07-18 22:25:39 +02:00
|
|
|
CMAKE_VERSION = 2.8.5
|
|
|
|
CMAKE_SITE = http://www.cmake.org/files/v2.8/
|
2010-03-02 22:31:26 +01:00
|
|
|
|
|
|
|
define HOST_CMAKE_CONFIGURE_CMDS
|
|
|
|
(cd $(@D); \
|
2010-06-25 11:41:56 +02:00
|
|
|
LDFLAGS="$(HOST_LDFLAGS)" \
|
|
|
|
CFLAGS="$(HOST_CFLAGS)" \
|
2012-06-11 18:09:39 +02:00
|
|
|
./bootstrap --prefix=$(HOST_DIR)/usr --parallel=$(PARALLEL_JOBS) \
|
2010-03-02 22:31:26 +01:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_CMAKE_BUILD_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_CMAKE_INSTALL_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-generic-package))
|