2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/theora/
16 PKG_MD5SUM:=c963937053f45a7878954bed37ceb182
19 include $(INCLUDE_DIR)/package.mk
23 define Package/libtheora
27 URL:=http://xiph.org/theora/
31 define Package/libtheora/description
32 Theora is Xiph.Org's first publicly released video codec, intended
33 for use within the Foundation's Ogg multimedia streaming system.
34 Theora is derived directly from On2's VP3 codec; Currently the
35 encoders are nearly identical, but Theora will make use of new
36 features supported by the decoder to improve over what is
40 define Build/Configure
41 $(call Build/Configure/Default, \
44 --disable-vorbistest \
49 define Build/InstallDev
50 $(INSTALL_DIR) $(1)/usr/include/theora/
51 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/theora/* $(1)/usr/include/theora/
52 $(INSTALL_DIR) $(1)/usr/lib/
53 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
54 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
55 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
58 define Package/libtheora/install
59 $(INSTALL_DIR) $(1)/usr/lib/
60 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
63 $(eval $(call BuildPackage,libtheora))