mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-18 20:03:16 +01:00
0b06159f4b
This so users can install the voip skill from jarbas.
40 lines
981 B
Makefile
40 lines
981 B
Makefile
#############################################################
|
|
#
|
|
# librem
|
|
#
|
|
#############################################################
|
|
|
|
LIBREM_VERSION = 0.6.0
|
|
LIBREM_SOURCE = rem-$(LIBREM_VERSION).tar.gz
|
|
LIBREM_SITE = http://www.creytiv.com/pub
|
|
LIBREM_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBRE),y)
|
|
LIBREM_DEPENDENCIES += libre
|
|
endif
|
|
|
|
define LIBREM_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) \
|
|
$(MAKE) -C $(@D) \
|
|
LIBRE_MK=$(STAGING_DIR)/usr/share/re/re.mk \
|
|
LIBRE_INC=$(STAGING_DIR)/usr/include/re \
|
|
LIBRE_SO=$(STAGING_DIR)/usr/lib \
|
|
HAVE_LIBRESOLV= \
|
|
CC="$(TARGET_CC)" \
|
|
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
|
EXTRA_LFLAGS="-lm" \
|
|
DESTDIR="$(STAGING_DIR)" \
|
|
SYSROOT="$(STAGING_DIR)/usr" \
|
|
SYSROOT_ALT="$(STAGING_DIR)/usr" \
|
|
RELEASE=1 \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
OS=linux \
|
|
all install
|
|
endef
|
|
|
|
define LIBREM_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 644 -D $(@D)/librem.so $(TARGET_DIR)/usr/lib/librem.so
|
|
endef
|
|
|
|
$(eval $(generic-package))
|