diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-02-08 18:28:43 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-02-08 18:28:43 +0000 |
commit | 6d4fc9e9be85cdbf7c58401163b45567a4423481 (patch) | |
tree | 3b9ef0292b8b915a9f913beeec1c90a214adfe95 /packages/portaudio | |
parent | 6579e8daf68dd520b702412208bfeae85af6fadc (diff) |
modernize the portaudio build, disable static library
BKrev: 420904dbUBjCArycJXk15YUaHlCFag
Diffstat (limited to 'packages/portaudio')
-rw-r--r-- | packages/portaudio/files/flags.patch (renamed from packages/portaudio/portaudio-0.0.19/flags.patch) | 0 | ||||
-rw-r--r-- | packages/portaudio/files/no-static-lib.patch | 0 | ||||
-rw-r--r-- | packages/portaudio/portaudio_0.0.19.bb | 22 |
3 files changed, 16 insertions, 6 deletions
diff --git a/packages/portaudio/portaudio-0.0.19/flags.patch b/packages/portaudio/files/flags.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/portaudio/portaudio-0.0.19/flags.patch +++ b/packages/portaudio/files/flags.patch diff --git a/packages/portaudio/files/no-static-lib.patch b/packages/portaudio/files/no-static-lib.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/portaudio/files/no-static-lib.patch 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 <mickey@Vanille.de>" 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}" |