Merge pull request #4949 from commodo/python-lxml-update
[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:=2.9.38
14 PKG_RELEASE:=1
15
16 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
17
18 PKG_LICENSE:=LGPLv2.1
19 PKG_LICENSE_FILES:=COPYING
20
21 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
22 PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
23 PKG_HASH:=165952dced0d0561dd7d3f2db5d40605d9ecff999ab7530db63e8a60343b0615
24
25 PKG_FIXUP:=autoreconf
26 PKG_INSTALL:=1
27
28 include $(INCLUDE_DIR)/package.mk
29 include $(INCLUDE_DIR)/nls.mk
30
31 TARGET_LDFLAGS+= \
32 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
33
34 define Package/libdmapsharing
35 SECTION:=libs
36 CATEGORY:=Libraries
37 DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app
38 TITLE:=libdmapsharing
39 URL:=http://www.flyn.org/projects/libdmapsharing/
40 endef
41
42 define Package/libdmapsharing/decription
43 Libdmapsharing is a DMAP library implementation in C
44 endef
45
46 CONFIGURE_ARGS += \
47 --disable-check \
48 --disable-gtk-doc \
49 --disable-introspection
50
51 define Build/InstallDev
52 $(INSTALL_DIR) $(1)/usr/include/
53 $(CP) \
54 $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-3.0/ \
55 $(1)/usr/include/
56 $(INSTALL_DIR) $(1)/usr/lib/
57 $(CP) \
58 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
59 $(1)/usr/lib/
60 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
61 $(INSTALL_DATA) \
62 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
63 $(1)/usr/lib/pkgconfig/
64 endef
65
66 define Package/libdmapsharing/install
67 $(INSTALL_DIR) $(1)/usr/lib/
68 $(CP) \
69 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
70 $(1)/usr/lib/
71 endef
72
73 $(eval $(call BuildPackage,libdmapsharing))