2 # Copyright (C) 2010-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/libmms
16 PKG_MD5SUM:=d6b665b335a6360e000976e770da7691
17 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
20 PKG_LICENSE_FILES:=COPYING.LIB
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/nls.mk
32 TITLE:=MMS stream protocol library
33 URL:=http://libmms.sourceforge.net
34 DEPENDS:=$(ICONV_DEPENDS)
37 define Package/libmms/description
38 LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
39 These are commonly used to stream Windows Media Video content over the web.
40 LibMMS itself is only for receiving MMS stream,
41 it doesn't handle sending at all.
44 TARGET_CFLAGS += $(FPIC)
45 TARGET_LDFLAGS += $(if $(ICONV_FULL),-liconv)
47 define Build/InstallDev
48 $(INSTALL_DIR) $(1)/usr/include
49 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmms $(1)/usr/include/
50 $(INSTALL_DIR) $(1)/usr/lib
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.{a,so*} $(1)/usr/lib/
52 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
54 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
55 $(1)/usr/lib/pkgconfig
58 define Package/libmms/install
59 $(INSTALL_DIR) $(1)/usr/lib
60 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.so.* $(1)/usr/lib/
63 $(eval $(call BuildPackage,libmms))