Add opensync (builds, untested)

git-svn-id: https://svn.o-hand.com/repos/poky@110 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Chris Lord
2005-10-03 18:49:26 +00:00
parent d3fcc57cfa
commit 127e3d5770
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
LICENSE = "LGPL"
DEPENDS = "sqlite3"
SRC_URI = "http://www.o-hand.com/~chris/${PN}-${PV}.tar.gz"
EXTRA_OECONF = " --enable-engine"
inherit autotools pkgconfig
do_stage () {
oe_libinstall -so -C opensync libopensync ${STAGING_LIBDIR}
oe_libinstall -so -C osengine libosengine ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/opensync-1.0 \
${STAGING_INCDIR}/opensync-1.0/opensync \
${STAGING_INCDIR}/opensync-1.0/osengine
install -m 0644 ${S}/opensync/*.h ${STAGING_INCDIR}/opensync-1.0/opensync
install -m 0644 ${S}/osengine/*.h ${STAGING_INCDIR}/opensync-1.0/osengine
install -m 0644 ${S}/opensync-1.0.pc ${STAGING_LIBDIR}/pkgconfig
install -m 0644 ${S}/osengine-1.0.pc ${STAGING_LIBDIR}/pkgconfig
}
FILES_${PN} += "${libdir}/opensync/formats/*.so"
FILES_${PN}-dev += "${libdir}/opensync/formats/*.la"