knxd: bump to latest release, add conffile
Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
parent
a9981d0b1f
commit
b446dbba58
1 changed files with 12 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008-2014 OpenWrt.org
|
# Copyright (C) 2008-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -7,14 +7,12 @@
|
||||||
|
|
||||||
### Remarks
|
### Remarks
|
||||||
### 'python pascal ruby lua' need to be deleted in src/clients/Makefile.am
|
### 'python pascal ruby lua' need to be deleted in src/clients/Makefile.am
|
||||||
### USB stays disabled as long as official libusb-1.0 remains on version 1.0.9
|
|
||||||
### you need to build libusb-1.0 >= 1.0.10 yourself if you want to add USB support
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=knxd
|
PKG_NAME:=knxd
|
||||||
PKG_REV:=b01d99c6748cc565f1be69b68cf2b9d3115e8ce5
|
PKG_REV:=c97a543043297e38bbe04e1030916e8a4737373c
|
||||||
PKG_VERSION:=2014-12-20
|
PKG_VERSION:=2015-01-14
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
|
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
|
||||||
|
@ -41,7 +39,7 @@ define Package/knxd
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=Eib KNX deamon
|
TITLE:=Eib KNX deamon
|
||||||
URL:=https://github.com/Makki1/knxd
|
URL:=https://github.com/Makki1/knxd
|
||||||
DEPENDS:=pthsem
|
DEPENDS:=pthsem libusb-1.0
|
||||||
endef
|
endef
|
||||||
# use this if you want to support USB
|
# use this if you want to support USB
|
||||||
# DEPENDS:=pthsem libusb-1.0
|
# DEPENDS:=pthsem libusb-1.0
|
||||||
|
@ -55,10 +53,8 @@ define Package/knxd-tools
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=Eib KNX Utils
|
TITLE:=Eib KNX Utils
|
||||||
URL:=https://github.com/Makki1/knxd
|
URL:=https://github.com/Makki1/knxd
|
||||||
DEPENDS:=pthsem
|
DEPENDS:=pthsem libusb-1.0
|
||||||
endef
|
endef
|
||||||
# use this if you want to support USB
|
|
||||||
# DEPENDS:=pthsem libusb-1.0
|
|
||||||
|
|
||||||
define Package/knxd-tools/description
|
define Package/knxd-tools/description
|
||||||
EIB KNX Tools
|
EIB KNX Tools
|
||||||
|
@ -74,7 +70,7 @@ define Build/Configure
|
||||||
--enable-eibnetip \
|
--enable-eibnetip \
|
||||||
--enable-eibnetiptunnel \
|
--enable-eibnetiptunnel \
|
||||||
--enable-eibnetipserver \
|
--enable-eibnetipserver \
|
||||||
--disable-usb \
|
--enable-usb \
|
||||||
--enable-tpuart \
|
--enable-tpuart \
|
||||||
--enable-tpuarts \
|
--enable-tpuarts \
|
||||||
--disable-pei16 \
|
--disable-pei16 \
|
||||||
|
@ -87,10 +83,14 @@ endef
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CC=$(TARGET_CC) \
|
CC=$(TARGET_CC) \
|
||||||
LIBS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib -fno-builtin -nostdinc++ -nodefaultlibs -lc -lm -lgcc -largp -lpthsem" \
|
LIBS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib -fno-builtin -nodefaultlibs -lc -lm -lgcc -largp -lpthsem" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include"
|
CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/knxd/conffiles
|
||||||
|
/etc/config/knxd
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/knxd/install
|
define Package/knxd/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/server/knxd $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/server/knxd $(1)/usr/bin/
|
||||||
|
@ -98,13 +98,12 @@ define Package/knxd/install
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/bcu/bcuread $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/bcu/bcuread $(1)/usr/bin/
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetsearch $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetsearch $(1)/usr/bin/
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetdescribe $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetdescribe $(1)/usr/bin/
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/findknxusb $(1)/usr/bin/
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
|
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
|
||||||
$(INSTALL_DIR) $(1)/etc/config
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(INSTALL_DATA) ./files/knxd.config $(1)/etc/config/knxd
|
$(INSTALL_DATA) ./files/knxd.config $(1)/etc/config/knxd
|
||||||
endef
|
endef
|
||||||
# add this line above to support USB
|
|
||||||
# $(CP) $(PKG_BUILD_DIR)/src/usb/findknxusb $(1)/usr/bin/
|
|
||||||
|
|
||||||
define Package/knxd-tools/install
|
define Package/knxd-tools/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
|
Loading…
Reference in a new issue