summaryrefslogtreecommitdiff
path: root/packages/libccaudio2/libccaudio2_0.9.0.bb
blob: ccdc4f2e1d7f5cafce3bf58720297deea3425c09 (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
DESCRIPTION = "a C++ class library for generating and recognising sounds."
HOMEPAGE = "http://www.gnu.org/software/ccaudio/"
LICENSE = "GPL"
SECTION = "libs"
FILE_PR = "r1"

SRC_URI = "http://ftp.gnu.org/pub/gnu/ccaudio/ccaudio2-${PV}.tar.gz \
	file://01-ccaudio-fixed-point.diff;patch=1 \
	file://02-ccaudio-stereo.diff;patch=1 \
	file://03-ccaudio-dtmf-reset.diff;patch=1"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libccaudio2-${PV}"

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

inherit autotools

${EXTRA_OECONF}="-without-fp"

do_stage () {
	install -d ${STAGING_INCDIR}/cc++
	install -m 0644 src/audio2.h ${STAGING_INCDIR}/cc++
	install -m 0644 src/fixedPoint.H ${STAGING_INCDIR}/cc++
	oe_libinstall -C src libccaudio2 ${STAGING_LIBDIR}
}