liburcu: Update to 0.8.6
[feed/packages.git] / libs / libtheora / Makefile
1 #
2 # Copyright (C) 2008-2012 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:=libtheora
11 PKG_VERSION:=1.1.1
12 PKG_RELEASE:=1
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/theora/
15 PKG_MD5SUM:=292ab65cedd5021d6b7ddd117e07cd8e
16 PKG_FIXUP:=autoreconf
17
18 PKG_BUILD_DEPENDS:=libvorbis
19
20 include $(INCLUDE_DIR)/package.mk
21
22 PKG_INSTALL=1
23
24 define Package/libtheora
25 SECTION:=libs
26 CATEGORY:=Libraries
27 TITLE:=libtheora
28 URL:=http://xiph.org/theora/
29 MAINTAINER:=W. Michael Petullo <mike@flyn.org>
30 DEPENDS:=+libogg
31 endef
32
33 define Package/libtheora/description
34 Theora is Xiph.Org's first publicly released video codec, intended
35 for use within the Foundation's Ogg multimedia streaming system.
36 Theora is derived directly from On2's VP3 codec; Currently the
37 encoders are nearly identical, but Theora will make use of new
38 features supported by the decoder to improve over what is
39 is possible with VP3.
40 endef
41
42 define Build/Configure
43 $(call Build/Configure/Default, \
44 --disable-examples \
45 --disable-oggtest \
46 --disable-vorbistest \
47 --disable-sdltest \
48 )
49 endef
50
51 define Build/InstallDev
52 $(INSTALL_DIR) $(1)/usr/include/theora/
53 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/theora/* $(1)/usr/include/theora/
54 $(INSTALL_DIR) $(1)/usr/lib/
55 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
56 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
57 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
58 endef
59
60 define Package/libtheora/install
61 $(INSTALL_DIR) $(1)/usr/lib/
62 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
63 endef
64
65 $(eval $(call BuildPackage,libtheora))