libv4l: update to 1.22.1
[feed/packages.git] / libs / libdmapsharing / Makefile
1 #
2 # Copyright (C) 2009-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # This Makefile is a skeleton
8 #
9
10 include $(TOPDIR)/rules.mk
11
12 PKG_NAME:=libdmapsharing
13 PKG_VERSION:=3.9.10
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=https://www.flyn.org/projects/libdmapsharing/
18 PKG_HASH:=e216425d61a109f08f0ac93065f4603d1e61ebd85c09802c03a9ecce5bb35094
19
20 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
21 PKG_LICENSE:=LGPL-2.1-or-later
22 PKG_LICENSE_FILES:=COPYING
23
24 PKG_FIXUP:=autoreconf
25 PKG_INSTALL:=1
26 PKG_BUILD_PARALLEL:=1
27 PKG_BUILD_DEPENDS:=glib2/host
28
29 include $(INCLUDE_DIR)/package.mk
30 include $(INCLUDE_DIR)/nls.mk
31
32 define Package/libdmapsharing
33 SECTION:=libs
34 CATEGORY:=Libraries
35 DEPENDS:=+libsoup +mdnsresponder +gstreamer1-plugins-base +gst1-mod-app
36 TITLE:=libdmapsharing
37 URL:=https://www.flyn.org/projects/libdmapsharing/
38 endef
39
40 define Package/libdmapsharing/decription
41 Libdmapsharing is a DMAP library implementation in C
42 endef
43
44 CONFIGURE_ARGS += \
45 --disable-tests \
46 --disable-gtk-doc \
47 --disable-introspection
48
49 define Build/InstallDev
50 $(INSTALL_DIR) $(1)/usr/include/
51 $(CP) \
52 $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-4.0/ \
53 $(1)/usr/include/
54 $(INSTALL_DIR) $(1)/usr/lib/
55 $(CP) \
56 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
57 $(1)/usr/lib/
58 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
59 $(INSTALL_DATA) \
60 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
61 $(1)/usr/lib/pkgconfig/
62 endef
63
64 define Package/libdmapsharing/install
65 $(INSTALL_DIR) $(1)/usr/lib/
66 $(CP) \
67 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
68 $(1)/usr/lib/
69 endef
70
71 $(eval $(call BuildPackage,libdmapsharing))