Add include files to staging_dir (#1505)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6660 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
740c4be0fe
commit
d5720d18c0
@ -560,6 +560,16 @@ define Package/asterisk-res-crypto/install
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/res/res_crypto.so $(1)/usr/lib/asterisk/modules/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
mkdir -p $(STAGING_DIR)/usr/include
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk \
|
||||
$(STAGING_DIR)/usr/include/
|
||||
endef
|
||||
|
||||
define Build/UninstallDev
|
||||
rm -rf $(STAGING_DIR)/usr/include/asterisk
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,asterisk))
|
||||
$(eval $(call BuildPackage,asterisk-mysql))
|
||||
$(eval $(call BuildPackage,asterisk-pgsql))
|
||||
|
Loading…
x
Reference in New Issue
Block a user