summaryrefslogtreecommitdiff
path: root/shfs/shfs-utils_0.33.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-08-05 10:54:23 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-08-05 10:54:23 +0000
commit3bf09930d865d4056e4577b75aff0a9032065dbf (patch)
tree44df367b210f05212187b905b65aa42f54f31b9e /shfs/shfs-utils_0.33.oe
parent63479cadd8521e43880b8d32288e1b4854f378f5 (diff)
use kernel-abiversion instead of kernel-version for external modules
BKrev: 411211df_5OfetKywF391rJssADBIQ
Diffstat (limited to 'shfs/shfs-utils_0.33.oe')
-rw-r--r--shfs/shfs-utils_0.33.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/shfs/shfs-utils_0.33.oe b/shfs/shfs-utils_0.33.oe
index e69de29bb2..48344746a7 100644
--- a/shfs/shfs-utils_0.33.oe
+++ b/shfs/shfs-utils_0.33.oe
@@ -0,0 +1,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 = "${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-abiversion')}"
+CFLAGS_append=' -DVERSION=\\"${KERNEL_VERSION}\\" -DSHFS_VERSION=\\"${PV}\\"'
+
+do_compile() {
+ oe_runmake LINKER="${CC}"
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 shfsmount shfsumount ${D}/${bindir}
+}