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.5 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:=4
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=@SF/libmms
  11. PKG_HASH:=3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f
  12. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  13. PKG_LICENSE:=LGPLv2.1
  14. PKG_LICENSE_FILES:=COPYING.LIB
  15. PKG_CPE_ID:=cpe:/a:libmms_project:libmms
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/libmms
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  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))