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/Configure
48 (cd $(PKG_BUILD_DIR); ./autogen.sh );
49 $(call Build/Configure/Default)
52 define Build/InstallDev
53 $(INSTALL_DIR) $(1)/usr/include
54 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmms $(1)/usr/include/
55 $(INSTALL_DIR) $(1)/usr/lib
56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.{a,so*} $(1)/usr/lib/
57 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
59 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
60 $(1)/usr/lib/pkgconfig
63 define Package/libmms/install
64 $(INSTALL_DIR) $(1)/usr/lib
65 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmms.so.* $(1)/usr/lib/
68 $(eval $(call BuildPackage,libmms))