summaryrefslogtreecommitdiff
path: root/package/cgroupfs-mount/cgroupfs-mount.mk
blob: b37560509b894c6a89545b577bdc56afe47c3202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# cgroupfs-mount
#
################################################################################

CGROUPFS_MOUNT_VERSION = 7285bf44402029394808339f69f4f293730fc2c6
CGROUPFS_MOUNT_SITE = $(call github,tianon,cgroupfs-mount,$(CGROUPFS_MOUNT_VERSION))
CGROUPFS_MOUNT_LICENSE = GPLv3+
CGROUPFS_MOUNT_LICENSE_FILES = debian/copyright

define CGROUPFS_MOUNT_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/cgroupfs-mount $(TARGET_DIR)/usr/bin/cgroupfs-mount
	$(INSTALL) -D -m 0755 $(@D)/cgroupfs-umount $(TARGET_DIR)/usr/bin/cgroupfs-umount
endef

define CGROUPFS_MOUNT_INSTALL_INIT_SYSV
	$(INSTALL) -m 0755 -D $(CGROUPFS_MOUNT_PKGDIR)/S30cgroupfs \
		$(TARGET_DIR)/etc/init.d/S30cgroupfs

endef

$(eval $(generic-package))