summaryrefslogtreecommitdiff
path: root/package/owfs
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/owfs
Initial import
Diffstat (limited to 'package/owfs')
-rw-r--r--package/owfs/Config.in13
-rw-r--r--package/owfs/Makefile38
-rw-r--r--package/owfs/ipkg/owfs.control5
3 files changed, 56 insertions, 0 deletions
diff --git a/package/owfs/Config.in b/package/owfs/Config.in
new file mode 100644
index 000000000..b8daf117d
--- /dev/null
+++ b/package/owfs/Config.in
@@ -0,0 +1,13 @@
+config ADK_PACKAGE_OWFS
+ prompt "owfs.............................. 1-wire filesystem to map sensors to a directory"
+ tristate
+ default n
+ select ADK_PACKAGE_FUSE_UTILS
+ select ADK_PACKAGE_LIBUSB
+ help
+ 1-Wire technology by Dallas Semiconductors is a simple bus for different kind of devices
+ like tempereatur, humidity, pressure, voltage, etc.
+ owfs maps the devices to a dirctory utilizing fuse.
+
+ http://www.owfs.org/
+
diff --git a/package/owfs/Makefile b/package/owfs/Makefile
new file mode 100644
index 000000000..6281d0f8b
--- /dev/null
+++ b/package/owfs/Makefile
@@ -0,0 +1,38 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= owfs
+PKG_VERSION:= 2.4p5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 236f2f42b3bb4f430e6007c1a70778e6
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=owfs/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,OWFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= BUILD_CC=${TARGET_CC} \
+ LD_EXTRALIBS="" \
+ ac_cv_linux_vers=2 \
+ td_cv_buggygetaddrinfo="no"
+CONFIGURE_ARGS+= --enable-owfs \
+ --enable-usb \
+ --disable-owhttpd \
+ --disable-owftpd \
+ --disable-owcapi \
+ --disable-owserver
+BUILD_STYLE:= auto
+ALL_TARGET:=
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_OWFS}/usr/{bin,lib}
+ ${INSTALL_BIN} ${WRKBUILD}/module/owlib/src/c/.libs/libow.so.0.0.0 \
+ ${IDIR_OWFS}/usr/lib/
+ ${INSTALL_BIN} ${WRKBUILD}/module/owfs/src/c/.libs/owfs ${IDIR_OWFS}/usr/bin/owfs
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/owfs/ipkg/owfs.control b/package/owfs/ipkg/owfs.control
new file mode 100644
index 000000000..b97ef945b
--- /dev/null
+++ b/package/owfs/ipkg/owfs.control
@@ -0,0 +1,5 @@
+Package: owfs
+Priority: optional
+Section: admin
+Description: A tool to access 1-wire devices through a fuse mounted fs
+Depends: fuse-utils libpthread