aboutsummaryrefslogtreecommitdiff
path: root/recipes/libosip/libosip_0.9.7.bb
blob: 9cbcb73a62c3e29ba69fc95bf296e71499d27f9c (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
SECTION = "libs"
SRC_URI = "http://handhelds.org/packages/libosip/libosip-0.9.7-hh2.tar.gz"
DESCRIPTION = "Session Initiation Protocol (SIP) library"
LEAD_SONAME = "libosip\..*"
PR = "hh2r0"
LICENSE = "LGPL"
S = "${WORKDIR}/libosip-0.9.7-hh2"

inherit autotools pkgconfig

do_configure_prepend() {
	rm -f acinclude.m4
}

HEADERS = "const.h fifo.h list.h osip.h sdp.h sema.h smsgtypes.h urls.h \
	dialog.h global.h md5.h port.h sdp_negoc.h smsg.h thread.h"

do_stage() {
	oe_libinstall -C fsm -so -a libfsmtl ${STAGING_LIBDIR}
	oe_libinstall -C parser -so -a libosip ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/osip/
	for i in ${HEADERS}; do
		install osip/$i ${STAGING_INCDIR}/osip/$i
	done
}

SRC_URI[md5sum] = "ffc20af80f77653ab534d2a103a2276d"
SRC_URI[sha256sum] = "b67c0218b7cd2d521783bf055b13c598bd04b623cbf4adbb3cc76bd3ac57dc5d"