aboutsummaryrefslogtreecommitdiff
path: root/recipes/shfs/shfs-utils_0.35.bb
blob: c794984b1b4b157a811806a14b0531f93f7ae348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "A simple and easy to use Linux kernel (2.4+) module which allows you to mount remote filesystems using plain shell (ssh/rsh) connection. \
It supports some nice features like number of different caches for access speedup, target system optimisations, etc."
SECTION = "kernel/userland"
PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS_${PN} = "shfs-modules (= ${PV})"
DEPENDS = "virtual/kernel"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/shfs/shfs-${PV}.tar.gz"
S = "${WORKDIR}/shfs-${PV}/shfsmount"

KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}"
KV = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')[:3]}"

CFLAGS_append=' -DVERSION=\\"${KERNEL_VERSION}\\" -DSHFS_VERSION=\\"${PV}\\" -I../shfs/Linux-${KV}'

do_compile() {
        oe_runmake LINKER="${CC}"
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 shfsmount shfsumount ${D}${bindir}
}

SRC_URI[md5sum] = "016f49d71bc32eee2b5d11fc1600cfbe"
SRC_URI[sha256sum] = "0d48ffe4d801180c15466f20aaa5802adb9d22067e8941e051dc3c64717ec3c2"