diff options
author | Koen Kooi <koen@openembedded.org> | 2007-04-13 17:44:36 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-04-13 17:44:36 +0000 |
commit | 199e1778e4839ea1d26abfa35073af2ea67d5c6b (patch) | |
tree | 0d8fb37c1b755e13fddde1360cdf8343ca9cfc4d /packages/opensync/libopensync-plugin.inc | |
parent | df9dbc8548641415b4381f0d48885e2f26742ab1 (diff) |
opensync: merge with poky
Diffstat (limited to 'packages/opensync/libopensync-plugin.inc')
-rw-r--r-- | packages/opensync/libopensync-plugin.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/opensync/libopensync-plugin.inc b/packages/opensync/libopensync-plugin.inc new file mode 100644 index 0000000000..b1986a9e64 --- /dev/null +++ b/packages/opensync/libopensync-plugin.inc @@ -0,0 +1,24 @@ + +PV = "0.22+svn${SRCDATE}" +PLUGIN_NAME ?= "${@bb.data.getVar('PN', d, 1).replace('libopensync-plugin-','')}" +PLUGIN_SONAME ?= "${@bb.data.getVar('PLUGIN_NAME', d, 1).replace('-','_')}.so" +SRC_URI ?= "svn://svn.opensync.org/plugins;module=${PLUGIN_NAME};proto=http" +S ?= "${WORKDIR}/${PLUGIN_NAME}" + +LICENSE ?= "LGPL" +DEPENDS += " libopensync" +RRECOMMENDS += " msynctool" +HOMEPAGE ?= "http://www.opensync.org/" + +inherit autotools pkgconfig + +FILES_${PN} += "${datadir} ${libdir}/opensync/plugins/*.so" +FILES_${PN}-dbg += "${libdir}/opensync/plugins/.debug" + +do_install() { + install -d ${D}${datadir}/opensync/defaults + install -d ${D}${libdir}/opensync/plugins + install -m 644 src/${PLUGIN_NAME} ${D}${datadir}/opensync/defaults + install -m 755 src/.libs/${PLUGIN_SONAME} ${D}${libdir}/opensync/plugins/ +} + |