flashrom: update to 1.2.1
[feed/packages.git] / sound / portaudio / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=portaudio
11 PKG_VERSION:=190600_20161030
12 PKG_RELEASE:=2
13
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)
18
19 PKG_MAINTAINER:=
20 PKG_LICENSE:=MIT
21 PKG_LICENSE_FILES:=LICENSE.txt
22
23 CMAKE_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/cmake.mk
27
28 define Package/portaudio
29 SECTION:=sound
30 CATEGORY:=Sound
31 DEPENDS:=+alsa-lib +libpthread +librt
32 TITLE:=Portable cross-platform audio I/O
33 URL:=http://www.portaudio.com/
34 endef
35
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.
42 endef
43
44 define Package/portaudio/install
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libportaudio.so $(1)/usr/lib/
47 endef
48
49 $(eval $(call BuildPackage,portaudio))