gst1-plugins-base: update to 1.22.8
[feed/packages.git] / utils / bluld / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=bluld
4 PKG_VERSION:=1.1.2
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
8 PKG_SOURCE_URL:=https://github.com/ktgeek/$(PKG_NAME)/releases/download/v$(PKG_VERSION)
9 PKG_HASH:=94e42999bf701ea01296d614fe298af3bd5b91d3bdab6adda7ecc24af69f8230
10
11 PKG_MAINTAINER:=Keith T. Garner <kgarner@kgarner.com>
12 PKG_LICENSE:=MIT
13 PKG_LICENSE_FILES:=LICENSE
14
15 include $(INCLUDE_DIR)/package.mk
16 include $(INCLUDE_DIR)/nls.mk
17 include $(INCLUDE_DIR)/kernel.mk
18
19 include $(INCLUDE_DIR)/cmake.mk
20
21 define Package/bluld
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=Blinkstick User space LED Daemon
25 DEPENDS:=+kmod-usb-hid +kmod-leds-uleds +libstdcpp +hidapi
26 endef
27
28 define Package/bluld/description
29 A daemon to expose a Blinkstick to the Linux kernel LED class via /dev/uleds. (Kernel 4.10+ required.)
30 endef
31
32 define Package/bluld/conffiles
33 /etc/config/bluld
34 endef
35
36 define Package/bluld/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bluld $(1)/usr/sbin
39 $(INSTALL_DIR) $(1)/etc/config
40 $(INSTALL_CONF) ./files/bluld.conf $(1)/etc/config/bluld
41 $(INSTALL_DIR) $(1)/etc/init.d
42 $(INSTALL_BIN) ./files/bluld.init $(1)/etc/init.d/bluld
43 endef
44
45 $(eval $(call BuildPackage,bluld))