[package] 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 b720673..f4c1bc4 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 dd24886..9f6c024 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() {