2 # Copyright (C) 2009 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
14 PKG_SOURCE:=celt-$(PKG_VERSION).tar.gz
15 PKG_BUILD_DIR:=$(BUILD_DIR)/celt-$(PKG_VERSION)
16 PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/celt/
17 PKG_MD5SUM:=0bb72abec367f4ef12551f79dda11b23
19 PKG_BUILD_DEPENDS:=libogg
22 include $(INCLUDE_DIR)/package.mk
24 define Package/libcelt
28 URL:=http://www.celt-codec.org/
31 define Package/libcelt/description
32 The CELT codec is an experimental audio codec for use in low-delay speech and audio communication.
35 define Build/Configure
36 $(call Build/Configure/Default, \
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)/usr/include/celt
43 $(CP) $(PKG_INSTALL_DIR)/usr/include/celt/celt*.h \
45 $(INSTALL_DIR) $(1)/usr/lib
46 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
50 define Package/libcelt/install
51 $(INSTALL_DIR) $(1)/usr/lib
52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcelt.so* $(1)/usr/lib/
55 $(eval $(call BuildPackage,libcelt))