[packages] cups: change user:group from root:root to nobody:nogroup (closes: #7180...
[packages.git] / libs / libdmapsharing / Makefile
1 #
2 # Copyright (C) 2009-2010 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:=1.9.0.15
14 PKG_RELEASE:=2
15
16 PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/
18 PKG_MD5SUM:=11839bcf9aac8f1de5e101d13e9e8422
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/libdmapsharing-$(PKG_VERSION)
21
22 PKG_FIXUP:=libtool
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 TARGET_CFLAGS+= \
28         -I$(STAGING_DIR)/usr/lib/libintl/include
29
30 TARGET_LDFLAGS+= \
31         -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
32         -L$(STAGING_DIR)/usr/lib/libintl/lib
33
34 define Package/libdmapsharing
35   SECTION:=libs
36   CATAGORY:=Libraries
37   DEPENDS:=+libsoup +mdnsresponder +gstreamer
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 define Build/InstallDev
47         $(INSTALL_DIR) $(1)/usr/include/
48         $(CP) \
49                 $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-1.9/ \
50                 $(1)/usr/include/
51         $(INSTALL_DIR) $(1)/usr/lib/
52         $(CP) \
53                 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
54                 $(1)/usr/lib/
55         $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
56         $(INSTALL_DATA) \
57                 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
58                 $(1)/usr/lib/pkgconfig/
59 endef
60
61 define Package/libdmapsharing/install
62         $(INSTALL_DIR) $(1)/usr/lib/
63         $(CP) \
64                 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
65                 $(1)/usr/lib/
66 endef
67
68 $(eval $(call BuildPackage,libdmapsharing))