1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-27 09:14:28 +01:00
OpenVoiceOS/buildroot-external/package/roc-toolkit/roc-toolkit.mk

44 lines
1.0 KiB
Makefile
Raw Normal View History

################################################################################
#
# roc-toolkit
#
################################################################################
ROC_TOOLKIT_VERSION = 767b88ed8ffe8cfae96bfef2f5502c39f1bdf0f9
ROC_TOOLKIT_SITE = $(call github,roc-streaming,roc-toolkit,$(ROC_TOOLKIT_VERSION))
ROC_TOOLKIT_LICENSE = MPL-2.0
ROC_TOOLKIT_LICENSE_FILES = LICENSE
ROC_TOOLKIT_INSTALL_STAGING = YES
ROC_TOOLKIT_DEPENDENCIES = \
host-scons \
host-pkgconf \
host-ragel \
host-gengetopt \
gst1-libav \
libunwind \
openfec \
speexdsp \
sox \
pulseaudio
define ROC_TOOLKIT_BUILD_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
$(SCONS) $(ROCTOOLKIT__SCONS_OPTS))
endef
define ROC_TOOLKIT_INSTALL_STAGING_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
$(SCONS) --prefix="$(STAGING_DIR)/usr" install)
endef
define ROC_TOOLKIT_INSTALL_TARGET_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \
$(SCONS) --prefix="$(TARGET_DIR)/usr" install)
endef
$(eval $(generic-package))