[packages] Add missing libtool fixups
[packages.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 PKG_FIXUP:=libtool
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/libcelt
25   SECTION:=libs
26   CATEGORY:=Libraries
27   TITLE:=CELT Codec
28   URL:=http://www.celt-codec.org/
29 endef
30
31 define Package/libcelt/description
32  The CELT codec is an experimental audio codec for use in low-delay speech and audio communication.
33 endef
34
35 define Build/Configure
36         $(call Build/Configure/Default, \
37                 --without-ogg \
38         )
39 endef
40
41 define Build/InstallDev
42         $(INSTALL_DIR) $(1)/usr/include/celt
43         $(CP) $(PKG_INSTALL_DIR)/usr/include/celt/celt*.h \
44                 $(1)/usr/include/celt
45         $(INSTALL_DIR) $(1)/usr/lib
46         $(CP) $(PKG_INSTALL_DIR)/usr/lib/* \
47                 $(1)/usr/lib/
48 endef
49
50 define Package/libcelt/install
51         $(INSTALL_DIR) $(1)/usr/lib
52         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcelt.so* $(1)/usr/lib/
53 endef
54
55 $(eval $(call BuildPackage,libcelt))