diff options
Diffstat (limited to 'meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb')
-rw-r--r-- | meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb new file mode 100644 index 000000000..21fd7e93e --- /dev/null +++ b/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb | |||
@@ -0,0 +1,68 @@ | |||
1 | SUMMARY = "1-Wire file system" | ||
2 | DESCRIPTION = "OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim" | ||
3 | HOMEPAGE = "http://www.owfs.org/" | ||
4 | SECTION = "console/network" | ||
5 | |||
6 | LICENSE = "GPLv2 & LGPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a0bc427f423a41220ab79a0b392218bd \ | ||
8 | file://COPYING.LIB;md5=865c4bd642d9e04f43925ad7e929ae87" | ||
9 | |||
10 | DEPENDS = "fuse virtual/libusb0" | ||
11 | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/owfs/owfs-${PV}.tar.gz \ | ||
13 | file://owhttpd \ | ||
14 | file://owserver " | ||
15 | SRC_URI[md5sum] = "56ba145be208002e58775a7203369851" | ||
16 | SRC_URI[sha256sum] = "9d22dbff72d235476688c02669f7171b23e21dffadf40bbdd3b8263908218424" | ||
17 | |||
18 | inherit autotools-brokensep update-rc.d | ||
19 | |||
20 | EXTRA_OECONF = " \ | ||
21 | --with-fuseinclude=${STAGING_INCDIR} \ | ||
22 | --with-fuselib=${STAGING_LIBDIR} \ | ||
23 | --enable-owfs \ | ||
24 | --enable-owhttpd \ | ||
25 | --enable-w1 \ | ||
26 | --disable-swig \ | ||
27 | --disable-owtcl \ | ||
28 | --disable-owphp \ | ||
29 | --disable-owpython \ | ||
30 | --disable-owperl \ | ||
31 | " | ||
32 | |||
33 | do_install_prepend() { | ||
34 | install -d ${D}${sysconfdir}/default/ | ||
35 | install -d ${D}${sysconfdir}/init.d/ | ||
36 | install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd | ||
37 | install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver | ||
38 | } | ||
39 | |||
40 | PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap" | ||
41 | |||
42 | DESCRIPTION_owftpd = "Anoymous FTP server for 1-wire access" | ||
43 | DESCRIPTION_owhttpd = "Tiny webserver for 1-wire control" | ||
44 | DESCRIPTION_owserver = "Backend server (daemon) for 1-wire control" | ||
45 | DESCRIPTION_owshell = "owdir owread owwrite owpresent owget - lightweight owserver access" | ||
46 | DESCRIPTION_libowcapi = "easy C-language 1-wire interface " | ||
47 | DESCRIPTION_libow = "easy C-language 1-wire interface to the owserver protocol" | ||
48 | DESCRIPTION_libownet = "easy C-language 1-wire interface to the owserver protocol" | ||
49 | DESCRIPTION_owmon = "Monitor for owserver settings and statistics" | ||
50 | DESCRIPTION_owtap = "Packet sniffer for the owserver protocol" | ||
51 | |||
52 | FILES_owftpd = "${bindir}/owftpd" | ||
53 | FILES_owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd" | ||
54 | FILES_owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver" | ||
55 | FILES_owshell = "${bindir}/owread ${bindir}/owwrite \ | ||
56 | ${bindir}/owdir ${bindir}/owpresent \ | ||
57 | ${bindir}/owget ${bindir}/owside" | ||
58 | FILES_owmon = "${bindir}/owmon" | ||
59 | FILES_owtap = "${bindir}/owtap" | ||
60 | FILES_libowcapi = "${libdir}/libowcapi-*" | ||
61 | FILES_libow = "${libdir}/libow-*" | ||
62 | FILES_libownet = "${libdir}/libownet-*" | ||
63 | |||
64 | INITSCRIPT_PACKAGES = "owhttpd owserver" | ||
65 | INITSCRIPT_NAME_owserver = "owserver" | ||
66 | INITSCRIPT_NAME_owhttpd = "owhttpd" | ||
67 | INITSCRIPT_PARAMS_owserver = "defaults 20" | ||
68 | INITSCRIPT_PARAMS_owhttpd = "defaults 21" | ||