summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/asterisk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 73ac40acb..791763cf2 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -166,10 +166,10 @@ do-install:
asterisk-pgsql-install:
${INSTALL_DIR} $(IDIR_ASTERISK_PGSQL)/etc/asterisk
- ${INSTALL_DATA} $(WRKBUILD)/configs/cdr_pgsql.conf.sample \
- $(IDIR_ASTERISK_PGSQL)/etc/asterisk/cdr_pgsql.conf
+ ${INSTALL_DATA} $(WRKINST)/etc/asterisk/cdr_pgsql.conf \
+ $(IDIR_ASTERISK_PGSQL)/etc/asterisk/
${INSTALL_DIR} $(IDIR_ASTERISK_PGSQL)/usr/lib/asterisk/modules
- ${INSTALL_BIN} $(WRKBUILD)/cdr/cdr_pgsql.so \
+ ${INSTALL_BIN} $(WRKINST)/usr/lib/asterisk/modules/cdr_pgsql.so \
$(IDIR_ASTERISK_PGSQL)/usr/lib/asterisk/modules/
asterisk-sounds-install: