summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper2018-04-09 21:30:49 +0000
committerSebastian Kemper2018-04-09 21:30:51 +0000
commit37f897c8c05ec34048b93f7f3a0d05dc3fb639e1 (patch)
treee628f53ce62d52dd8c64740cd7fb6f3ce18df3bc
parent0331fc3f7dcb1fbe5262b2bb14fdb1d6ac4263a1 (diff)
downloadtelephony-37f897c8c05ec34048b93f7f3a0d05dc3fb639e1.tar.gz
baresip: remove underscores from package names
Underscores should not be used in package base names as they're used as semantic separators by opkg. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rw-r--r--net/baresip/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/baresip/Makefile b/net/baresip/Makefile
index c99665e..376e2f4 100644
--- a/net/baresip/Makefile
+++ b/net/baresip/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=baresip
PKG_VERSION:=0.5.8
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.creytiv.com/pub
@@ -46,7 +46,7 @@ baresip-mods:= \
v4l2
PKG_CONFIG_DEPENDS:= \
- $(patsubst %,CONFIG_PACKAGE_baresip-mod-%,$(baresip-mods)) \
+ $(patsubst %,CONFIG_PACKAGE_baresip-mod-%,$(subst _,-,$(baresip-mods)))
include $(INCLUDE_DIR)/package.mk
@@ -94,7 +94,7 @@ baresip-mod-v4l2 := USE_V4L2
BARESIP_MOD_OPTIONS:= \
MOD_AUTODETECT= \
EXTRA_MODULES="dtmfio" \
- $(foreach m,$(baresip-mods),$(baresip-mod-$(m))=$(if $(CONFIG_PACKAGE_baresip-mod-$(m)),1))
+ $(foreach m,$(baresip-mods),$(baresip-mod-$(m))=$(if $(CONFIG_PACKAGE_baresip-mod-$(subst _,-,$(m))),1))
MAKE_FLAGS+= \
CROSS_COMPILE="$(TARGET_CROSS)" \
@@ -163,13 +163,13 @@ endef
define BuildPlugin
- define Package/baresip-mod-$(1)
+ define Package/baresip-mod-$(subst _,-,$(1))
$$(call Package/baresip/Default)
TITLE:=$(2)
- DEPENDS:=baresip $(patsubst +%,+PACKAGE_$(PKG_NAME)-mod-$(1):%,$(4))
+ DEPENDS:=baresip $(patsubst +%,+PACKAGE_$(PKG_NAME)-mod-$(subst _,-,$(1)):%,$(4))
endef
- define Package/baresip-mod-$(1)/install
+ define Package/baresip-mod-$(subst _,-,$(1))/install
[ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/usr/lib/baresip/modules
for f in $(3); do \
$(INSTALL_DATA) \
@@ -178,7 +178,7 @@ define BuildPlugin
done
endef
- $$(eval $$(call BuildPackage,baresip-mod-$(1)))
+ $$(eval $$(call BuildPackage,baresip-mod-$(subst _,-,$(1))))
endef
$(eval $(call BuildPackage,baresip))