f3ca350fc886dfb87a97433932175cd36f1ad436
[openwrt/svn-archive/archive.git] / libs / libogg / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libogg
12 PKG_VERSION:=1.1.3
13 PKG_RELEASE:=1
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/
16 PKG_FIXUP:=libtool
17 PKG_MD5SUM:=eaf7dc6ebbff30975de7527a80831585
18
19 include $(INCLUDE_DIR)/package.mk
20
21 PKG_INSTALL=1
22
23 define Package/libogg
24 SECTION:=libs
25 CATEGORY:=Libraries
26 TITLE:=libogg
27 URL:=http://xiph.org/ogg/
28 endef
29
30 define Package/libogg/description
31 Ogg project codecs use the Ogg bitstream format to arrange the raw,
32 compressed bitstream into a more robust, useful form. For example,
33 the Ogg bitstream makes seeking, time stamping and error recovery
34 possible, as well as mixing several sepearate, concurrent media
35 streams into a single physical bitstream.
36 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(1)/usr/include/ogg/
40 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/
41 $(INSTALL_DIR) $(1)/usr/lib/
42 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,la} $(1)/usr/lib/
43 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
44 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
45 $(INSTALL_DIR) $(1)/usr/share/aclocal/
46 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
47 endef
48
49 define Package/libogg/install
50 $(INSTALL_DIR) $(1)/usr/lib/
51 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a} $(1)/usr/lib/
52 endef
53
54 $(eval $(call BuildPackage,libogg))