projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b82f0
)
Add include files to staging_dir (#1505)
author
Florian Fainelli
<florian@openwrt.org>
Sat, 24 Mar 2007 10:30:13 +0000
(10:30 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sat, 24 Mar 2007 10:30:13 +0000
(10:30 +0000)
SVN-Revision: 6660
net/asterisk/Makefile
patch
|
blob
|
history
diff --git
a/net/asterisk/Makefile
b/net/asterisk/Makefile
index ea652f09a68d93ea6146daa653dcc35a9c145875..edf9e67179b1d0a8fdc90fc1e592f7836c049216 100644
(file)
--- 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))