2 # Copyright (C) 2009-2010 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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.us.xiph.org/releases/celt/
16 PKG_MD5SUM:=0bb72abec367f4ef12551f79dda11b23
18 PKG_BUILD_DEPENDS:=libogg
21 PKG_REMOVE_FILES:=aclocal.m4 ltmain.sh
25 include $(INCLUDE_DIR)/package.mk
27 define Package/libcelt
31 URL:=http://www.celt-codec.org/
34 define Package/libcelt/description
35 The CELT codec is an experimental audio codec for use in low-delay speech and audio communication.
38 define Build/Configure
39 $(call Build/Configure/Default, \
44 define Build/InstallDev
45 $(INSTALL_DIR) $(1)/usr/include/celt
46 $(CP) $(PKG_INSTALL_DIR)/usr/include/celt/celt*.h \
48 $(INSTALL_DIR) $(1)/usr/lib
49 $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
53 define Package/libcelt/install
54 $(INSTALL_DIR) $(1)/usr/lib
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcelt.so* $(1)/usr/lib/
58 $(eval $(call BuildPackage,libcelt))