2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # This Makefile is a skeleton
10 include $(TOPDIR
)/rules.mk
12 PKG_NAME
:=libdmapsharing
16 PKG_SOURCE
:=libdmapsharing-
$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
18 PKG_MD5SUM
:=ef309a539ae025ff44937069874e271c
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/libdmapsharing-
$(PKG_VERSION
)
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
29 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib
31 define Package
/libdmapsharing
34 DEPENDS
:=+libsoup
+mdnsresponder
+gstreamer
+gst-plugins-base
36 URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
37 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
40 define Package
/libdmapsharing
/decription
41 Libdmapsharing is a DMAP library implementation in C
44 define Build
/InstallDev
45 $(INSTALL_DIR
) $(1)/usr
/include/
47 $(PKG_INSTALL_DIR
)/usr
/include/libdmapsharing-3.0
/ \
49 $(INSTALL_DIR
) $(1)/usr
/lib
/
51 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
53 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
55 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
56 $(1)/usr
/lib
/pkgconfig
/
59 define Package
/libdmapsharing
/install
60 $(INSTALL_DIR
) $(1)/usr
/lib
/
62 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
66 $(eval
$(call BuildPackage
,libdmapsharing
))