You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

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