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