From 6d4fc9e9be85cdbf7c58401163b45567a4423481 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 8 Feb 2005 18:28:43 +0000 Subject: modernize the portaudio build, disable static library BKrev: 420904dbUBjCArycJXk15YUaHlCFag --- packages/portaudio/portaudio_0.0.19.bb | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'packages/portaudio/portaudio_0.0.19.bb') diff --git a/packages/portaudio/portaudio_0.0.19.bb b/packages/portaudio/portaudio_0.0.19.bb index e87e4e9c43..c0f9ced49e 100644 --- a/packages/portaudio/portaudio_0.0.19.bb +++ b/packages/portaudio/portaudio_0.0.19.bb @@ -3,13 +3,17 @@ SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "GPL" +PV = "v19-cvs-${CVSDATE}" +PR = "r0" + SRC_URI = "http://www.portaudio.com/archives/pa_snapshot_v19.tar.gz \ - file://flags.patch;patch=1" + file://flags.patch;patch=1 \ + file://no-static-lib.patch;patch=1" S = "${WORKDIR}/portaudio" -inherit autotools pkgconfig +inherit autotools pkgconfig -EXTRA_OECONF = "--with-jack=no" +EXTRA_OECONF = "--with-oss --with-alsa --with-jack=no" do_stage() { oe_libinstall -so -C lib libportaudio ${STAGING_LIBDIR} @@ -17,8 +21,14 @@ do_stage() { } do_install() { - install -d ${D}${libdir} - install -d ${D}${includedir} - oe_runmake 'PREFIX=${D}${prefix}' install + install -d ${D}/${libdir} + install -d ${D}/${bindir} + install -d ${D}/${includedir} + oe_libinstall -so -C lib libportaudio ${D}/${libdir} + install -m 0644 pa_common/portaudio.h ${D}/${includedir} + install -m 0755 bin/* ${D}/${bindir}/ } +PACKAGES = "portaudio portaudio-dev portaudio-examples" +FILES_${PN} = "${libdir}" +FILES_portaudio-examples = "${bindir}" -- cgit v1.2.3