summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
blob: bca305fc8803fa96a5f3fd1eddad42f5834b4e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DESCRIPTION = "WBXML parsing and encoding library."
HOMEPAGE = "http://libwbxml.opensync.org/"
SECTION = "libs"
LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=c1128ee5341ccd5927d8bafe4b6266e1"

DEPENDS = "expat"

SRC_URI = "${SOURCEFORGE_MIRROR}/libwbxml/libwbxml-${PV}.tar.gz"

SRC_URI[md5sum] = "f5031e9f730ffd9dc6a2d1ded585e1d1"
SRC_URI[sha256sum] = "a057daa098f12838eb4e635bb28413027f1b73819872c3fbf64e3207790a3f7d"

S = "${WORKDIR}/libwbxml-${PV}"

inherit cmake pkgconfig

EXTRA_OECMAKE += " . -B${WORKDIR}/build "

PACKAGES += "${PN}-tools"

FILES_${PN}-tools = "${bindir}"
FILES_${PN} = "${libdir}/*.so.*"

do_build_prepend() {
    cd ${WORKDIR}/build
}

do_install_prepend() {
    cd ${WORKDIR}/build
}