diff options
Diffstat (limited to 'meta/packages/opensync/libopensync-plugin.inc')
-rw-r--r-- | meta/packages/opensync/libopensync-plugin.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin.inc b/meta/packages/opensync/libopensync-plugin.inc new file mode 100644 index 0000000000..f263973739 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | |||
2 | PV ?= "0.20+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 | |||