comparison net-im/psi-plus/psi-plus-1.2.109.ebuild @ 454:175c21f9bfe2

plugins go to a different location now
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 14 Dec 2017 11:12:12 +0100
parents 90f4c3220d2e
children
comparison
equal deleted inserted replaced
453:6e91f901964d 454:175c21f9bfe2
89 89
90 src_install() { 90 src_install() {
91 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install 91 emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
92 dodoc README TODO ChangeLog 92 dodoc README TODO ChangeLog
93 93
94 local plugindir="/usr/share/psi-plus/plugins"
94 if use autoreplyplugin; then 95 if use autoreplyplugin; then
95 cd src/plugins/generic/autoreplyplugin 96 cd src/plugins/generic/autoreplyplugin
96 97
97 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" 98 strip --strip-unneeded libautoreplyplugin.so
99
98 dodir "${plugindir}" 100 dodir "${plugindir}"
99 insinto "${plugindir}" 101 insinto "${plugindir}"
100 doins libautoreplyplugin.so 102 doins libautoreplyplugin.so
101 103
102 cd ../../../.. 104 cd ../../../..
103 fi 105 fi
104 106
105 if use otrplugin; then 107 if use otrplugin; then
106 cd src/plugins/generic/otrplugin 108 cd src/plugins/generic/otrplugin
107 109
108 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" 110 strip --strip-unneeded libotrplugin.so
111
109 dodir "${plugindir}" 112 dodir "${plugindir}"
110 insinto "${plugindir}" 113 insinto "${plugindir}"
111 doins libotrplugin.so 114 doins libotrplugin.so
112 115
113 cd ../../../.. 116 cd ../../../..
114 fi 117 fi
115 118
116 if use watcherplugin; then 119 if use watcherplugin; then
117 cd src/plugins/generic/watcherplugin 120 cd src/plugins/generic/watcherplugin
118 121
119 local plugindir="/usr/$(get_libdir)/psi-plus/plugins" 122 strip --strip-unneeded libwatcherplugin.so
123
120 dodir "${plugindir}" 124 dodir "${plugindir}"
121 insinto "${plugindir}" 125 insinto "${plugindir}"
122 doins libwatcherplugin.so 126 doins libwatcherplugin.so
123 127
124 cd ../../../.. 128 cd ../../../..