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
:=36c77d387bd521df9ce5500d73223e9b
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/libdmapsharing-
$(PKG_VERSION
)
25 include $(INCLUDE_DIR
)/package.mk
28 -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include
31 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
32 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
34 define Package
/libdmapsharing
37 DEPENDS
:=+libsoup
+mdnsresponder
+gstreamer
39 URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
40 MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
43 define Package
/libdmapsharing
/decription
44 Libdmapsharing is a DMAP library implementation in C
47 define Build
/InstallDev
48 $(INSTALL_DIR
) $(1)/usr
/include/
50 $(PKG_INSTALL_DIR
)/usr
/include/libdmapsharing-2.2
/ \
52 $(INSTALL_DIR
) $(1)/usr
/lib
/
54 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
58 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
59 $(1)/usr
/lib
/pkgconfig
/
62 define Package
/libdmapsharing
/install
63 $(INSTALL_DIR
) $(1)/usr
/lib
/
65 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
69 $(eval
$(call BuildPackage
,libdmapsharing
))