1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
7 PKG_NAME
:=bigclown-gateway
12 PKG_HASH
:=ce7f27f372551c0beb3f8929af2d779417d9dcd0feaa2fa2dc49e87b1416c536
14 PKG_MAINTAINER
:=Karel Kočí
<cynerd@email.cz
>
16 PKG_LICENSE_FILES
:=LICENSE
18 include ..
/..
/..
/lang
/python
/pypi.mk
19 include $(INCLUDE_DIR
)/package.mk
20 include ..
/..
/..
/lang
/python
/python3-package.mk
22 define Package
/bigclown-gateway
26 TITLE
:=BigCLown gateway
27 URL
:=https
://github.com
/bigclownlabs
/bch-gateway
29 +kmod-usb-serial-ftdi \
40 define Py3Package
/bigclown-gateway
/install
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
44 $(INSTALL_DIR
) $(1)/etc
/config
45 $(INSTALL_CONF
) .
/files
/config
$(1)/etc
/config
/bigclown-gateway
46 $(INSTALL_DIR
) $(1)/etc
/init.d
47 $(INSTALL_BIN
) .
/files
/init
$(1)/etc
/init.d
/bigclown-gateway
50 define Package
/bigclown-gateway
/conffiles
51 /etc
/config
/bigclown-gateway
54 $(eval
$(call Py3Package
,bigclown-gateway
))
55 $(eval
$(call BuildPackage
,bigclown-gateway
))