summaryrefslogtreecommitdiff
path: root/recipes/libosip2/libosip2_2.2.2.bb
blob: 3886529f2efcf93818f3a95cbc6490381a71b414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "libs"
DESCRIPTION = "Session Initiation Protocol (SIP) library"
LEAD_SONAME = "libosip2\..*"
PR = "r0"
LICENSE = "LGPL"
SRC_URI = "${GNU_MIRROR}/osip/libosip2-${PV}.tar.gz"

inherit autotools pkgconfig

do_stage() {
	oe_libinstall -C src/osip2 -so -a libosip2 ${STAGING_LIBDIR}
	oe_libinstall -C src/osipparser2 -so -a libosipparser2 ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/osip2/
	install -d ${STAGING_INCDIR}/osipparser2/
	install -d ${STAGING_INCDIR}/osipparser2/headers/
	install include/osip2/*.h ${STAGING_INCDIR}/osip2/
	install include/osipparser2/*.h ${STAGING_INCDIR}/osipparser2/
	install include/osipparser2/headers/*.h ${STAGING_INCDIR}/osipparser2/headers/
}

SRC_URI[md5sum] = "40ee3ec89030f0d6dfdb2cf6100e6685"
SRC_URI[sha256sum] = "4e13febd65a2f8f18cb55151cd10f5f0888bf1e7dc2a4c0d54f39f170255de1c"