We were not correctly passing down TARGET_CPPFLAGS which made external
toolchains not automatically searching for headers in $(STAGING_DIR) to
fail the build. We are also just packaging the library and headers, so
we do not need to build the tests and selftests.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
PKG_NAME:=portaudio
PKG_VERSION:=19_20140130
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=pa_stable_v$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.portaudio.com/archives/
--without-jack \
--with-oss \
+EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
+
+define Build/Compile
+ $(call Build/Compile/Default,lib/libportaudio.la)
+endef
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) \