22 lines
674 B
Makefile
22 lines
674 B
Makefile
|
################################################################################
|
||
|
#
|
||
|
# bcg729
|
||
|
#
|
||
|
################################################################################
|
||
|
|
||
|
BCG729_VERSION = 1.0.4
|
||
|
BCG729_SITE = $(call github,BelledonneCommunications,bcg729,$(BCG729_VERSION))
|
||
|
BCG729_LICENSE = GPL-2.0+
|
||
|
BCG729_LICENSE_FILES = COPYING
|
||
|
BCG729_INSTALL_STAGING = YES
|
||
|
|
||
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||
|
BCG729_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
|
||
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||
|
BCG729_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
|
||
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
||
|
BCG729_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
||
|
endif
|
||
|
|
||
|
$(eval $(cmake-package))
|