projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync pptp ifup script with whiterussian
[openwrt.git]
/
openwrt
/
package
/
asterisk
/
Makefile
diff --git
a/openwrt/package/asterisk/Makefile
b/openwrt/package/asterisk/Makefile
index
f88b796
..
35b52ec
100644
(file)
--- a/
openwrt/package/asterisk/Makefile
+++ b/
openwrt/package/asterisk/Makefile
@@
-7,9
+7,10
@@
PKG_VERSION:=1.0.9
PKG_RELEASE:=1
PKG_MD5SUM:=0d7f1c680ae53a739f26a069ef8b580a
PKG_RELEASE:=1
PKG_MD5SUM:=0d7f1c680ae53a739f26a069ef8b580a
-PKG_SOURCE_URL:=http://
www.asterisk.org/html/downloads ftp://ftp.asterisk.org/pub/asterisk
+PKG_SOURCE_URL:=http://
ftp.digium.com/pub/asterisk/ ftp://ftp.digium.com/pub/asterisk/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/install
PKG_CAT:=zcat
include $(TOPDIR)/package/rules.mk
PKG_CAT:=zcat
include $(TOPDIR)/package/rules.mk
@@
-62,12
+63,13
@@
$(PKG_BUILD_DIR)/.built:
EXTRA_APPS="$(APPS)" \
EXTRA_MODS="$(MODS)" \
MODSPEEX="$(SPEEX)"
EXTRA_APPS="$(APPS)" \
EXTRA_MODS="$(MODS)" \
MODSPEEX="$(SPEEX)"
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ install samples
touch $@
$(IPKG_ASTERISK):
touch $@
$(IPKG_ASTERISK):
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(IDIR_ASTERISK)" \
- install samples
+ cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_ASTERISK)
rm -rf $(IDIR_ASTERISK)/usr/sbin/astgenkey
rm -rf $(IDIR_ASTERISK)/usr/bin
rm -rf $(IDIR_ASTERISK)/usr/share
rm -rf $(IDIR_ASTERISK)/usr/sbin/astgenkey
rm -rf $(IDIR_ASTERISK)/usr/bin
rm -rf $(IDIR_ASTERISK)/usr/share
This page took
0.024457 seconds
and
4
git commands to generate.