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