[packages] pulseaudio: update to 0.9.23
[openwrt/svn-archive/archive.git] / libs / libcelt / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=celt
11 PKG_VERSION:=0.7.0
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/celt/
16 PKG_MD5SUM:=0bb72abec367f4ef12551f79dda11b23
17
18 PKG_BUILD_DEPENDS:=libogg
19
20 PKG_FIXUP:=libtool
21
22 PKG_INSTALL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/libcelt
27 SECTION:=libs
28 CATEGORY:=Libraries
29 TITLE:=CELT Codec
30 URL:=http://www.celt-codec.org/
31 endef
32
33 define Package/libcelt/description
34 The CELT codec is an experimental audio codec for use in low-delay speech and audio communication.
35 endef
36
37 define Build/Configure
38 $(call Build/Configure/Default, \
39 --without-ogg \
40 )
41 endef
42
43 define Build/InstallDev
44 $(INSTALL_DIR) $(1)/usr/include/celt
45 $(CP) $(PKG_INSTALL_DIR)/usr/include/celt/celt*.h \
46 $(1)/usr/include/celt
47 $(INSTALL_DIR) $(1)/usr/lib
48 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
49 $(1)/usr/lib/
50 endef
51
52 define Package/libcelt/install
53 $(INSTALL_DIR) $(1)/usr/lib
54 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcelt.so* $(1)/usr/lib/
55 endef
56
57 $(eval $(call BuildPackage,libcelt))