浏览代码

asterisk-pgsql: get install files from WRKINST

No need to fiddle them out of the WRKBUILD, as the regular asterisk
installation in WRKINST is not being touched by other packages, at all
(just the IDIRs).

This could probably be done for most of the other sub-packages, too.
(Which is left to the reader as an excercise. ;)
Phil Sutter 15 年之前
父节点
当前提交
5085db8ce4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      package/asterisk/Makefile

+ 3 - 3
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: