DESCRIPTION = "A web Nas Menu"
SECTION = "network"
HOMEPAGE = "https://github.com/baillaw/meta-nas"

RDEPENDS_${PN} = "transmission-web filemanager"

SRC_URI = "file://index.html"
SRC_URI += "file://COPYING"

SRC_URI[md5sum] = "665547ad10bd4aeda5f36fd23558fd8b"
SRC_URI[sha256sum] = "03057cf948d9a63ed832931bd0dbaf692889a9da51015ec7c294451643090942"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

S = "${WORKDIR}"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6b2a2e44797724bf46ea769edb0f54a7"

do_compile[noexec] = "1"
do_configure[noexec] = "1"

do_install () {
    # Do it carefully
    [ -d "${S}" ] || exit 1
    mkdir -p ${D}/www/pages || exit 1
    cp ${WORKDIR}/index.html ${D}/www/pages/
}

FILES_${PN} = "/"

DESCRIPTION = "A web Nas Menu"
SECTION = "network"
HOMEPAGE = "https://github.com/baillaw/meta-nas"

RDEPENDS_${PN} = "transmission-web filemanager minidlna "

SRC_URI = "file://index.html"
SRC_URI += "file://COPYING"

SRC_URI[md5sum] = "665547ad10bd4aeda5f36fd23558fd8b"
SRC_URI[sha256sum] = "03057cf948d9a63ed832931bd0dbaf692889a9da51015ec7c294451643090942"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

S = "${WORKDIR}"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6b2a2e44797724bf46ea769edb0f54a7"

do_compile[noexec] = "1"
do_configure[noexec] = "1"

do_install () {
    # Do it carefully
    [ -d "${S}" ] || exit 1
    mkdir -p ${D}/www/pages || exit 1
    cp ${WORKDIR}/index.html ${D}/www/pages/
}

FILES_${PN} = "/"

Add minidlna as depency for the nas menu
Add minidlna as depency for the nas menu

Signed-off-by: Baptiste DURAND <b25337b7e75bfa5131dfd7920748e6b5e058e3ca@gmail.com>
