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.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/
16 PKG_MD5SUM:=10200ec22543841d9d1c23e0aed4e5e9
22 include $(INCLUDE_DIR)/package.mk
28 URL:=http://xiph.org/ogg/
31 define Package/libogg/description
32 Ogg project codecs use the Ogg bitstream format to arrange the raw,
33 compressed bitstream into a more robust, useful form. For example,
34 the Ogg bitstream makes seeking, time stamping and error recovery
35 possible, as well as mixing several sepearate, concurrent media
36 streams into a single physical bitstream.
39 define Build/InstallDev
40 $(INSTALL_DIR) $(1)/usr/include/ogg/
41 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/
42 $(INSTALL_DIR) $(1)/usr/lib/
43 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
44 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
45 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
46 $(INSTALL_DIR) $(1)/usr/share/aclocal/
47 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
50 define Package/libogg/install
51 $(INSTALL_DIR) $(1)/usr/lib/
52 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
55 $(eval $(call BuildPackage,libogg))