build dmapd to with DPAP support (#6368)
authorFlorian Fainelli <florian@openwrt.org>
Thu, 17 Dec 2009 12:58:33 +0000 (12:58 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 17 Dec 2009 12:58:33 +0000 (12:58 +0000)
SVN-Revision: 18803

net/dmapd/Makefile
net/dmapd/files/dmapd.init

index b720673427c0b2c14fdb4aa027438a4c9a0fd441..f4c1bc410d7244e01bf60d5123dcb1b36cf310b5 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dmapd
 PKG_VERSION:=0.0.19
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_SOURCE:=dmapd-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd/
 PKG_MD5SUM:=24ead9b689d569abd87fa055625a8356
@@ -14,7 +14,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/dmapd
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libdmapsharing
+  DEPENDS:=+libdmapsharing +GraphicsMagick +gstreamer +libexif
   TITLE:= dmapd
   URL:=http://www.flyn.org/projects/dmapd/
 endef
@@ -23,10 +23,6 @@ define Package/dmapd/decription
        Dmapd is a DMAP server
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-endef
-
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
index dd2488694ab65040df52b9de56fc08bf218765e8..9f6c024f6865ee6ddf8a68e865b2bd89c2fcb117 100644 (file)
@@ -8,7 +8,7 @@ start() {
        mkdir -p /var/run/dmapd/
        mkdir -p /var/lock/subsys/
        
-       DMAPD_PHOTO_MODULE=null /usr/sbin/dmapd -m /var/db/BigDisk/Storage/Music/
+       /usr/sbin/dmapd -m /var/db/BigDisk/Storage/Music/ -p /var/db/BigDisk/Storage/Pictures
 }
 
 stop() {