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.4 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=libmms
  7. PKG_VERSION:=0.6.4
  8. PKG_RELEASE:=3
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=@SF/libmms
  11. PKG_MD5SUM:=d6b665b335a6360e000976e770da7691
  12. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  13. PKG_LICENSE:=LGPLv2.1
  14. PKG_LICENSE_FILES:=COPYING.LIB
  15. PKG_FIXUP:=autoreconf
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/libmms
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. DEPENDS:=+glib2
  22. TITLE:=MMS stream protocol library
  23. URL:=http://libmms.sourceforge.net
  24. endef
  25. define Package/libmms/description
  26. LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
  27. These are commonly used to stream Windows Media Video content over the web.
  28. LibMMS itself is only for receiving MMS stream,
  29. it doesn't handle sending at all.
  30. endef
  31. TARGET_CFLAGS += $(FPIC)
  32. define Build/InstallDev
  33. $(INSTALL_DIR) $(1)/usr/include
  34. $(CP) $(PKG_INSTALL_DIR)/usr/include/libmms $(1)/usr/include/
  35. $(INSTALL_DIR) $(1)/usr/lib
  36. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.{a,so*} $(1)/usr/lib/
  37. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  38. $(INSTALL_DATA) \
  39. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  40. $(1)/usr/lib/pkgconfig
  41. endef
  42. define Package/libmms/install
  43. $(INSTALL_DIR) $(1)/usr/lib
  44. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.so.* $(1)/usr/lib/
  45. endef
  46. $(eval $(call BuildPackage,libmms))