mirror of https://github.com/OpenIPC/firmware.git
Package: add divinus streamer (#1449)
parent
0bcb22979b
commit
1d545a3c0e
|
@ -10,6 +10,7 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/baresip-openipc/Config.in"
|
|||
source "$BR2_EXTERNAL_GENERAL_PATH/package/capjpeg/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/comgt/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/datalink/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/divinus/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/dropbear-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/exfat-openipc/Config.in"
|
||||
source "$BR2_EXTERNAL_GENERAL_PATH/package/f2fs-tools-openipc/Config.in"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
config BR2_PACKAGE_DIVINUS
|
||||
bool "Divinus streamer"
|
||||
help
|
||||
Multi-platform open source streamer
|
||||
https://openipc.org
|
|
@ -0,0 +1,27 @@
|
|||
################################################################################
|
||||
#
|
||||
# divinus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DIVINUS_SITE = $(call github,openipc,divinus,$(DIVINUS_VERSION))
|
||||
DIVINUS_VERSION = HEAD
|
||||
DIVINUS_LICENSE = MIT
|
||||
DIVINUS_LICENSE_FILES = LICENSE
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
DIVINUS_OPTIONS = "-s -Os -lm"
|
||||
else
|
||||
DIVINUS_OPTIONS = "-s -Os"
|
||||
endif
|
||||
|
||||
define DIVINUS_BUILD_CMDS
|
||||
$(MAKE) CC=$(TARGET_CC) OPT=$(DIVINUS_OPTIONS) -C $(@D)
|
||||
endef
|
||||
|
||||
define DIVINUS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/divinus
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue