summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-11-07 22:19:25 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-11-07 22:19:25 +0000
commit7db016ba8a4407d7359bbc4e41f1480e871d1887 (patch)
tree787808fcbd11e93a588974877cc01f92968ce300
parent005e3d724d22b29b8c0f214771b87a5f0cc04f27 (diff)
correct section for shfs
BKrev: 418e9f6dCYFISVQoGJpi2HyNNxt2Ag
-rw-r--r--shfs/shfs-modules_0.35.oe2
-rw-r--r--shfs/shfs-utils_0.35.oe25
2 files changed, 26 insertions, 1 deletions
diff --git a/shfs/shfs-modules_0.35.oe b/shfs/shfs-modules_0.35.oe
index 5cc0f4aed0..bcfb862639 100644
--- a/shfs/shfs-modules_0.35.oe
+++ b/shfs/shfs-modules_0.35.oe
@@ -1,6 +1,6 @@
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"
+SECTION = "kernel/modules"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
diff --git a/shfs/shfs-utils_0.35.oe b/shfs/shfs-utils_0.35.oe
index e69de29bb2..f98cc2c383 100644
--- a/shfs/shfs-utils_0.35.oe
+++ b/shfs/shfs-utils_0.35.oe
@@ -0,0 +1,25 @@
+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"
+MAINTAINER = "Michael 'Mickey' 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 = "${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')}"
+KV = "${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/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}
+}