You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.6 KiB

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