diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 11:34:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-10-22 11:34:48 +0000 |
commit | 9ae81d33764adae7a2a68cd54087bc5a9c68a181 (patch) | |
tree | 787bc03f8a83b880602339be0064cddbf001434a | |
parent | 68018684d458894e0a177b5abefdffacb2cf9fcd (diff) | |
download | mtk-20170518-9ae81d33764adae7a2a68cd54087bc5a9c68a181.zip mtk-20170518-9ae81d33764adae7a2a68cd54087bc5a9c68a181.tar.gz mtk-20170518-9ae81d33764adae7a2a68cd54087bc5a9c68a181.tar.bz2 |
fix rebuilding of asterisk
SVN-Revision: 2229
-rw-r--r-- | openwrt/package/asterisk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/package/asterisk/Makefile b/openwrt/package/asterisk/Makefile index 8be4c11..35b52ec 100644 --- a/openwrt/package/asterisk/Makefile +++ b/openwrt/package/asterisk/Makefile @@ -10,6 +10,7 @@ PKG_MD5SUM:=0d7f1c680ae53a739f26a069ef8b580a 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_INSTALL_DIR:=$(PKG_BUILD_DIR)/install PKG_CAT:=zcat include $(TOPDIR)/package/rules.mk @@ -62,12 +63,13 @@ $(PKG_BUILD_DIR)/.built: EXTRA_APPS="$(APPS)" \ EXTRA_MODS="$(MODS)" \ MODSPEEX="$(SPEEX)" + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + install samples 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 |