summaryrefslogtreecommitdiff
path: root/portaudio/portaudio_0.0.19.oe
blob: 8875a77e6996efc4f81af5738d1e80728d7271a7 (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
SECTION="libs"
PRIORITY="optional"
MAINTAINER="Michael Lauer <mickey@Vanille.de>"
RDEPENDS=libc6
DEPENDS=virtual/libc
DESCRIPTION=A portable audio library

SRC_URI=http://www.portaudio.com/archives/pa_snapshot_v19.tar.gz
S=${WORKDIR}/portaudio

inherit autotools libtool pkgconfig

do_stage() {
        install -m 0755 lib/libportaudio.so.${PV} ${STAGING_LIBDIR}/
        ln -sf libportaudio.so.${PV} ${STAGING_LIBDIR}/libportaudio.so.0
        ln -sf libportaudio.so.${PV} ${STAGING_LIBDIR}/libportaudio.so

        install -d ${STAGING_DIR}/target/include/
        install -m 0644 pa_common/portaudio.h ${STAGING_DIR}/target/include/portaudio.h
}

do_install() {
	install -d ${D}${libdir}
	install -d ${D}${includedir}
	oe_runmake 'PREFIX=${D}${prefix}' install
}