prometheus-node-exporter-lua: add dawn exporter
[feed/packages.git] / utils / cgroupfs-mount / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=cgroupfs-mount
4 PKG_VERSION:=1.4
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://codeload.github.com/tianon/cgroupfs-mount/tar.gz/${PKG_VERSION}?
9 PKG_HASH:=d6c8aff7af59c7d0082ee3018c97f73b0421e81a49bb28ad9f66a36da5cd6ec7
10
11 PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/cgroupfs-mount
16 SECTION:=utils
17 CATEGORY:=Utilities
18 TITLE:=cgroup mount scripts
19 DEPENDS:=@KERNEL_CGROUPS +mount-utils
20 MENU:=1
21 endef
22
23 define Package/cgroupfs-mount/description
24 Simple scripts to properly mount the cgroupfs hierarchy, especially structured for Debian packaging
25 endef
26
27 Build/Compile=# Nothing to compile, just install the scripts
28
29 define Package/cgroupfs-mount/install
30 $(INSTALL_DIR) $(1)/usr/bin/
31 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgroupfs-mount $(1)/usr/bin/
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cgroupfs-umount $(1)/usr/bin/
33
34 $(INSTALL_DIR) $(1)/etc/init.d
35 $(INSTALL_BIN) ./files/cgroupfs-mount.init $(1)/etc/init.d/cgroupfs-mount
36 endef
37
38 $(eval $(call BuildPackage,cgroupfs-mount))