summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-02-18 00:51:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-21 13:46:53 +0100
commit5085db8ce48400d364208c34f0d3bf293e5fdf5f (patch)
tree923b0f6b4416221baa886becd3cca2b6fb0933d1
parent297ea208d0eca6e802294e75965c94f27aac8ee7 (diff)
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. ;)
-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: