add plugin(streamtvplayer)
[vuplus_openembedded] / recipes / opensync / libopensync-plugin.inc
1
2 PV = "0.22+svn${SRCDATE}"
3 PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}"
4 PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so"
5 SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http"
6 S ?= "${WORKDIR}/${PLUGIN_NAME}"
7
8 LICENSE ?= "LGPL"
9 DEPENDS += " libopensync"
10 RRECOMMENDS += " msynctool"
11 HOMEPAGE ?= "http://www.opensync.org/"
12
13 inherit autotools pkgconfig
14
15 FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so"
16 FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug"
17
18 do_install() {
19         install -d ${D}${datadir}/opensync/defaults
20         install -d ${D}${libdir}/opensync/plugins
21         install -m 644 src/${PLUGIN_NAME} ${D}${datadir}/opensync/defaults
22         install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/
23 }
24