Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
5085db8ce4
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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: