Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
5085db8ce4
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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: