summaryrefslogtreecommitdiff
path: root/recipes/libgsm/libgsm_1.0.10.bb
blob: f16d457d8d68584c3919081ef04193ab60622fce (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
32
33
DESCRIPTION = "GSM Audio Library"
SECTION = "libs"
PRIORITY = "optional"
#DEPENDS = ""
LICENSE = "libgsm"

PR = "r2"

inherit pkgconfig gpe

SRC_URI = "http://www.netsw.org/audio/convert/gsm-${PV}.tar.gz \
           file://libgsm_patch;apply=yes;striplevel=0"

S = "${WORKDIR}/gsm-1.0-pl10/"

headers = "gsm.h"

do_stage () {
        oe_libinstall -a -C lib libgsm ${STAGING_LIBDIR}
        mkdir -p ${STAGING_INCDIR}/gsm
        for h in ${headers}; do
            install -m 0644 ${S}/inc/$h ${STAGING_INCDIR}/gsm/$h
        done
        ln -s ${STAGING_INCDIR}/gsm/gsm.h ${STAGING_INCDIR}/gsm.h
}

#do_install () {
#       gpe_do_install
#       oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel
#}

SRC_URI[md5sum] = "4b148480f82e96d274248e13880ec873"
SRC_URI[sha256sum] = "ddab700db455e13bcf9bc0592b320e61c6a7c692fb3cef7881b14b2df1a39069"