1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
12 include $(INCLUDE_DIR
)/package.mk
14 define Package
/rpcd-mod-poe
17 TITLE
:=OpenWrt ubus PoE interface
18 MAINTAINER
:=Paul Spooren
<mail@aparcar.org
>
19 DEPENDS
:=+rpcd
+kmod-i2c-gpio-custom
22 define Package
/rpcd-mod-poe
/description
23 Expose ubus procedures to query
, enable and disable the per-port PoE power
24 on Ubiquity devices and similar platforms.
30 define Build
/Configure
33 define Package
/rpcd-mod-poe
/install
34 $(INSTALL_DIR
) $(1)/usr
/share
/rpcd
/acl.d
/
35 $(INSTALL_BIN
) .
/files
/poe.acl
$(1)/usr
/share
/rpcd
/acl.d
/poe.json
37 $(INSTALL_DIR
) $(1)/usr
/libexec
/rpcd
/
38 $(INSTALL_BIN
) .
/files
/poe.rpcd
$(1)/usr
/libexec
/rpcd
/poe
41 $(eval
$(call BuildPackage
,rpcd-mod-poe
))