SUMMARY = "This is a filesystem client based on the HTTP using FUSE"
HOMEPAGE = "http://httpfs.sourceforge.net"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=83f224c5182f148ec92e0b9f84b3c6c7"

inherit pkgconfig

DEPENDS += "fuse"
RDEPENDS:${PN} += "fuse"

SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"

S = "${UNPACKDIR}/httpfs2-${PV}"

do_compile() {
    oe_runmake -C ${S} httpfs2
}

do_install() {
    install -Dm 0755 ${S}/httpfs2 ${D}${bindir}/httpfs2
}
