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.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd
16 PKG_MD5SUM:=f9ce3f4222dc7918257d3a4e53b7a462
21 include $(INCLUDE_DIR)/package.mk
24 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
29 DEPENDS:=+libdmapsharing +GraphicsMagick +gstreamer +libexif
31 URL:=http://www.flyn.org/projects/dmapd/
34 define Package/dmapd/decription
35 Dmapd is a DMAP server
38 define Package/dmapd/conffiles
42 define Package/dmapd/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/
46 $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd
47 $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules
49 $(PKG_INSTALL_DIR)/usr/sbin/dmapd \
52 $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \
55 $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \
56 $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/
59 $(eval $(call BuildPackage,dmapd))