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
11 include $(TOPDIR
)/rules.mk
13 PKG_NAME
:=libdmapsharing
17 PKG_SOURCE
:=libdmapsharing-
$(PKG_VERSION
).
tar.gz
18 PKG_SOURCE_URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
19 PKG_MD5SUM
:=66b2b30c3762c7803832a39e179ebc88
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/libdmapsharing-
$(PKG_VERSION
)
26 include $(INCLUDE_DIR
)/package.mk
29 -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include
32 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
33 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
35 define Package
/libdmapsharing
38 DEPENDS
:=+libsoup
+mdnsresponder
+gstreamer
40 URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
41 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
44 define Package
/libdmapsharing
/decription
45 Libdmapsharing is a DMAP library implementation in C
48 define Build
/InstallDev
49 $(INSTALL_DIR
) $(1)/usr
/include/
51 $(PKG_INSTALL_DIR
)/usr
/include/libdmapsharing-2.2
/ \
53 $(INSTALL_DIR
) $(1)/usr
/lib
/
55 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
57 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
59 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
60 $(1)/usr
/lib
/pkgconfig
/
63 define Package
/libdmapsharing
/install
64 $(INSTALL_DIR
) $(1)/usr
/lib
/
66 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
70 $(eval
$(call BuildPackage
,libdmapsharing
))