voicemngr: install shared header to staging dir

This commit is contained in:
Wenpeng Song 2023-09-20 08:14:53 +00:00 committed by Yalu Zhang
parent 2dc1e6044a
commit 0f6108a0c0

View file

@ -75,6 +75,12 @@ define Build/Prepare
endef
endif
#installs files into ./staging_dir/. that shared with asterisk-chan-voicemngr
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/usr/include
$(CP) $(PKG_BUILD_DIR)/libvoice/voice-types.h $(STAGING_DIR)/usr/include
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/usr/sbin