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.

57 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:=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_FIXUP:=autoreconf
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/libmms
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=MMS stream protocol library
  22. URL:=http://libmms.sourceforge.net
  23. endef
  24. define Package/libmms/description
  25. LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
  26. These are commonly used to stream Windows Media Video content over the web.
  27. LibMMS itself is only for receiving MMS stream,
  28. it doesn't handle sending at all.
  29. endef
  30. TARGET_CFLAGS += $(FPIC)
  31. define Build/InstallDev
  32. $(INSTALL_DIR) $(1)/usr/include
  33. $(CP) $(PKG_INSTALL_DIR)/usr/include/libmms $(1)/usr/include/
  34. $(INSTALL_DIR) $(1)/usr/lib
  35. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.{a,so*} $(1)/usr/lib/
  36. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  37. $(INSTALL_DATA) \
  38. $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
  39. $(1)/usr/lib/pkgconfig
  40. endef
  41. define Package/libmms/install
  42. $(INSTALL_DIR) $(1)/usr/lib
  43. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.so.* $(1)/usr/lib/
  44. endef
  45. $(eval $(call BuildPackage,libmms))