1 DESCRIPTION = "GSM Audio Library"
9 SRC_URI = "http://user.cs.tu-berlin.de/~jutta/gsm/gsm-${PV}.tar.gz \
10 file://01_makefile.patch;patch=1 \
11 file://02_cplusplus.patch;patch=1 \
12 file://03_config.patch;patch=1 \
13 file://04_includes.patch;patch=1 \
14 file://05_compiler_warnings.patch;patch=1 \
17 S = "${WORKDIR}/gsm-1.0-pl12/"
19 CFLAGS += "-c -g -fPIC -Wall -D_GNU_SOURCE -D_REENTRANT -DNeedFunctionPrototypes=1 -DWAV49 -I./inc"
25 oe_runmake CCFLAGS="${CFLAGS}"
29 oe_libinstall -a -C lib libgsm ${D}${libdir}
30 oe_libinstall -so -C lib libgsm ${D}${libdir}
31 install -d ${D}${includedir}/gsm
32 install -m 0644 ${S}/inc/gsm.h ${D}${includedir}/gsm/
38 oe_libinstall -a -C lib libgsm ${STAGING_LIBDIR}
39 oe_libinstall -so -C lib libgsm ${STAGING_LIBDIR}
40 install -d ${STAGING_INCDIR}/gsm
41 install -m 0644 ${S}/inc/gsm.h ${STAGING_INCDIR}/gsm/
42 rm -f ${STAGING_INCDIR}/gsm.h
43 ln -s ${STAGING_INCDIR}/gsm/gsm.h ${STAGING_INCDIR}/gsm.h