httpfs2: Do not use S during compile/install tasks

Point to SOURCEFORGE_MIRROR instead of hardcoding one

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2023-05-01 22:05:27 -07:00
parent fe62e64c97
commit edf94a6e8d
@@ -8,18 +8,15 @@ inherit pkgconfig
DEPENDS += "fuse"
RDEPENDS:${PN} += "fuse"
SRC_URI += "https://astuteinternet.dl.sourceforge.net/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"
S = "${WORKDIR}/httpfs2-${PV}"
do_compile() {
cd ${S}
oe_runmake httpfs2
oe_runmake -C ${S} httpfs2
}
do_install() {
cd ${S}
install -d ${D}${bindir}
install -m 0755 httpfs2 ${D}${bindir}
install -Dm 0755 ${S}/httpfs2 ${D}${bindir}/httpfs2
}