2015-06-29 11:02:43 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# monkey
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-09-17 15:05:48 +02:00
|
|
|
MONKEY_VERSION_MAJOR = 1.6
|
|
|
|
MONKEY_VERSION = $(MONKEY_VERSION_MAJOR).9
|
2015-09-28 18:10:31 +02:00
|
|
|
MONKEY_SITE = http://monkey-project.com/releases/$(MONKEY_VERSION_MAJOR)
|
2015-07-19 22:50:40 +02:00
|
|
|
MONKEY_LICENSE = Apache-2.0
|
|
|
|
MONKEY_LICENSE_FILES = LICENSE
|
2015-06-29 11:02:43 +02:00
|
|
|
|
|
|
|
# This package has a configure script, but it's not using
|
|
|
|
# autoconf/automake, so we're using the generic-package
|
|
|
|
# infrastructure.
|
|
|
|
|
|
|
|
MONKEY_CONF_OPTS = \
|
2018-09-23 06:22:34 +02:00
|
|
|
-DINSTALL_SYSCONFDIR=/etc/monkey \
|
|
|
|
-DINSTALL_WEBROOTDIR=/var/www \
|
|
|
|
-DWITH_SYSTEM_MALLOC=1
|
2015-06-29 11:02:43 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
2018-09-23 06:22:34 +02:00
|
|
|
MONKEY_CONF_OPTS += -DWITH_UCLIB=1 -DWITH_BACKTRACE=0
|
2015-06-29 11:02:43 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
2018-09-23 06:22:34 +02:00
|
|
|
MONKEY_CONF_OPTS += -DWITH_MUSL=1 -DWITH_BACKTRACE=0
|
2015-06-29 11:02:43 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
2018-09-23 06:22:34 +02:00
|
|
|
MONKEY_CONF_OPTS += -DWITH_DEBUG=1
|
2015-06-29 11:02:43 +02:00
|
|
|
endif
|
|
|
|
|
2018-09-17 15:05:49 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_MONKEY_SSL),y)
|
2018-09-23 06:22:34 +02:00
|
|
|
MONKEY_CONF_OPTS += -DWITH_PLUGINS=tls -DWITH_MBEDTLS_SHARED=1
|
2018-09-17 15:05:49 +02:00
|
|
|
MONKEY_DEPENDENCIES += mbedtls
|
|
|
|
endif
|
|
|
|
|
2018-09-23 06:22:34 +02:00
|
|
|
$(eval $(cmake-package))
|