Merge pull request #315 from micmac1/siproxd-fix-package-names

siproxd: remove underscores from package names
This commit is contained in:
Jiri Slachta 2018-04-14 07:49:29 +02:00 committed by GitHub
commit 2ead2c458c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd PKG_NAME:=siproxd
PKG_VERSION:=0.8.2 PKG_VERSION:=0.8.2
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd PKG_SOURCE_URL:=@SF/siproxd
@ -64,18 +64,18 @@ define Package/siproxd/install
endef endef
define BuildPlugin define BuildPlugin
define Package/siproxd-mod-$(1) define Package/siproxd-mod-$(subst _,-,$(1))
$$(call Package/siproxd/Default) $$(call Package/siproxd/Default)
TITLE:= siproxd $(1) plugin TITLE:= siproxd $(1) plugin
DEPENDS:=siproxd DEPENDS:=siproxd
endef endef
define Package/siproxd-mod-$(1)/install define Package/siproxd-mod-$(subst _,-,$(1))/install
$(INSTALL_DIR) $$(1)/usr/lib/siproxd $(INSTALL_DIR) $$(1)/usr/lib/siproxd
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/siproxd/plugin_$(1).so $$(1)/usr/lib/siproxd $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/siproxd/plugin_$(1).so $$(1)/usr/lib/siproxd
endef endef
$$(eval $$(call BuildPackage,siproxd-mod-$(1))) $$(eval $$(call BuildPackage,siproxd-mod-$(subst _,-,$(1))))
endef endef
$(eval $(call BuildPackage,siproxd)) $(eval $(call BuildPackage,siproxd))