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.

49 lines
1.3 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. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/portaudio
  22. SECTION:=sound
  23. CATEGORY:=Sound
  24. DEPENDS:=+alsa-lib +libpthread +librt
  25. TITLE:=Portable cross-platform audio I/O
  26. URL:=http://www.portaudio.com/
  27. endef
  28. define Package/portaudio/description
  29. PortAudio is a free, cross-platform, open-source, audio I/O library. It lets
  30. you write simple audio programs in 'C' or C++ that will compile and run on many
  31. platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is
  32. intended to promote the exchange of audio software between developers on
  33. different platforms. Many applications use PortAudio for Audio I/O.
  34. endef
  35. define Package/portaudio/install
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libportaudio.so $(1)/usr/lib/
  38. endef
  39. $(eval $(call BuildPackage,portaudio))