2 # Copyright (C) 2009 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
:=11839bcf9aac8f1de5e101d13e9e8422
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/libdmapsharing-
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
25 -I
$(STAGING_DIR
)/usr
/lib
/libintl
/include
28 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
29 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
31 define Package
/libdmapsharing
34 DEPENDS
:=+libsoup
+mdnsresponder
36 URL
:=http
://www.flyn.org
/projects
/libdmapsharing
/
39 define Package
/libdmapsharing
/decription
40 Libdmapsharing is a DMAP library implementation in C
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 DESTDIR
="$(PKG_INSTALL_DIR)" \
49 define Build
/InstallDev
50 $(INSTALL_DIR
) $(1)/usr
/include/
52 $(PKG_INSTALL_DIR
)/usr
/include/libdmapsharing-1.9
/ \
54 $(INSTALL_DIR
) $(1)/usr
/lib
/
56 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
58 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
60 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc \
61 $(1)/usr
/lib
/pkgconfig
/
64 define Package
/libdmapsharing
/install
65 $(INSTALL_DIR
) $(1)/usr
/lib
/
67 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
71 $(eval
$(call BuildPackage
,libdmapsharing
))