From: Florian Fainelli Date: Sat, 24 Mar 2007 10:30:13 +0000 (+0000) Subject: Add include files to staging_dir (#1505) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60058d6afe0ec9139ffcb66f09a55b383ba0bf55;p=openwrt%2Fsvn-archive%2Fpackages.git Add include files to staging_dir (#1505) SVN-Revision: 6660 --- diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index ea652f09a..edf9e6717 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -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))