You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=portaudio
  9. PKG_VERSION:=190600_20161030
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=pa_stable_v$(PKG_VERSION).tgz
  12. PKG_SOURCE_URL:=http://www.portaudio.com/archives/
  13. PKG_HASH:=f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  15. PKG_MAINTAINER:=
  16. PKG_LICENSE:=MIT
  17. PKG_LICENSE_FILES:=LICENSE.txt
  18. CMAKE_INSTALL:=1
  19. PKG_BUILD_PARALLEL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/cmake.mk
  22. define Package/portaudio
  23. SECTION:=sound
  24. CATEGORY:=Sound
  25. DEPENDS:=+alsa-lib +libpthread +librt
  26. TITLE:=Portable cross-platform audio I/O
  27. URL:=http://www.portaudio.com/
  28. endef
  29. define Package/portaudio/description
  30. PortAudio is a free, cross-platform, open-source, audio I/O library. It lets
  31. you write simple audio programs in 'C' or C++ that will compile and run on many
  32. platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is
  33. intended to promote the exchange of audio software between developers on
  34. different platforms. Many applications use PortAudio for Audio I/O.
  35. endef
  36. define Package/portaudio/install
  37. $(INSTALL_DIR) $(1)/usr/lib
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libportaudio.so $(1)/usr/lib/
  39. endef
  40. $(eval $(call BuildPackage,portaudio))