1
0

Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #
  2. # Copyright (C) 2008-2014 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.2
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/
  13. PKG_MD5SUM:=5c3a34309d8b98640827e5d0991a4015
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/libogg
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=libogg
  24. URL:=http://xiph.org/ogg/
  25. endef
  26. define Package/libogg/description
  27. Ogg project codecs use the Ogg bitstream format to arrange the raw,
  28. compressed bitstream into a more robust, useful form. For example,
  29. the Ogg bitstream makes seeking, time stamping and error recovery
  30. possible, as well as mixing several sepearate, concurrent media
  31. streams into a single physical bitstream.
  32. endef
  33. define Build/InstallDev
  34. $(INSTALL_DIR) $(1)/usr/include/ogg/
  35. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/
  36. $(INSTALL_DIR) $(1)/usr/lib/
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
  38. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
  39. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
  40. $(INSTALL_DIR) $(1)/usr/share/aclocal/
  41. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
  42. endef
  43. define Package/libogg/install
  44. $(INSTALL_DIR) $(1)/usr/lib/
  45. $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
  46. endef
  47. $(eval $(call BuildPackage,libogg))