summaryrefslogtreecommitdiff
path: root/package/owfs/Makefile
blob: 9be07eabbc27d2b209f6f2602602cab3628771c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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.5p2
PKG_RELEASE:=		1
PKG_MD5SUM:=		842170565e8893001a4e78e675322144
PKG_DESCR:=		A tool to access 1-wire devices through a fuse mounted fs
PKG_SECTION:=		admin
PKG_URL:=		http://owfs.org
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=owfs/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,OWFS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

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