summaryrefslogtreecommitdiff
path: root/shfs/shfs-utils_0.32.oe
blob: 357f34405d55aab4a49c4a12be922562313004c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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="base"
PRIORITY="optional"
MAINTAINER="Michael Lauer <mickey@Vanille.de>"
LICENSE="GPL"
RDEPENDS="shfs-modules (${PV})"
DEPENDS="virtual/kernel"

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

KERNEL_VERSION="`cat ${STAGING_DIR}/target/kernel/kernel-version`"
CFLAGS_append=' -DVERSION=\\"${KERNEL_VERSION}\\"'

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

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