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